ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[FR] Some middle-ground between TabContainer and Bar

Open sap-lh opened this issue 3 months ago • 5 comments

Is your feature request related to a problem?

Hi, colleagues!

This is a feature request to achieve more versatility when using TabContainer or Bar components:

In our design, we would have tabs on the left and action buttons ("display settings" / "save" / etc) on the right. This is currently not possible using UI5-webcomponents React.

Image Image

Describe the solution you'd like

The way we see it, the implementation of this Feature Request could be achieved in three ways

  1. Adding an endContent slot in TabContainer, so that we can create our 'custom buttons';
  2. Exposing TabStripItem;
  3. Making SegmentedButton have custom styling option to look like TabStripItems on a Bar;

Thanks for the great work and best regards,

Describe alternatives you've considered

As of now, we either

  • use a SegmentedButton instead of actual tabs and control the visibility of a FlexBox manually, for each tab;
  • repeat our common buttons throughout all tabs, and have them occupy an entire row of space unecessarily

Additional Context

No response

Organization

SAP

Declaration

  • [x] I’m not disclosing any internal or sensitive information.

sap-lh avatar Oct 24 '25 16:10 sap-lh

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

Lukas742 avatar Oct 27 '25 07:10 Lukas742

Hello @sap-lh,

To ensure we can process your feature request appropriately, please create separate requests for each of your suggestions, as different teams are responsible for the respective components.

Additionally, could you please clarify what you mean by “Exposing TabStripItem” and explain why you need this enhancement?

Thank you in advance! Best regards, Ivaylo

ivoplashkov avatar Oct 27 '25 12:10 ivoplashkov

Thanks colleagues for the comments!

What I mean is that if I could put a TabStripItem inside a Bar and use it as though it was a RadioButton group, that would be enough to mimic the behaviour of the TabContainer in a Bar;

But the preferred solution for me would be to have the endContent slot in Tab. Can we proceed with that single suggestion initially?

sap-lh avatar Oct 29 '25 16:10 sap-lh

Hello colleagues,

Could you please have a look at this feature request, where reporter suggests that Tab should have endContent slot?

Thanks and regards, Ivaylo

ivoplashkov avatar Nov 03 '25 10:11 ivoplashkov

@sap-lh For this we need Designer's involvement Please register this feature request (in Jira) as described on this page https://sap.sharepoint.com/sites/204212/SitePages/Home.aspx

olannyv avatar Nov 27 '25 08:11 olannyv