Blueprint: Tabs Expansion

Created on 17 May 2018  路  8Comments  路  Source: palantir/blueprint

Feature request

Context

When there are too many tabs it will overflow out of its container. It would be ideal if tabs could be expanded in one of several ways, condensing the tab titles, adding arrows to scroll or adding a dropdown selector for any overflowing tabs.

Examples

I can provide some screenshots if needed.

core enhancement

Most helpful comment

I believe you could use a jsx component for the title prop to achieve that then use some of the more advanced css selectors to apply one class that reskins the entire tab section without touching the underlying components or css.

All 8 comments

@invliD sounds familiar????

Yes!! I'll contact you internally.

Have you been working on an implementation? Originally I had started wrapping the tabs component to add the extra functionality but it would work a lot better if it was done internally.

I will add my internal implementation to Blueprint next week.

Could you guys also please extend the current tab implementation to support something like this?
tabs

I believe you could use a jsx component for the title prop to achieve that then use some of the more advanced css selectors to apply one class that reskins the entire tab section without touching the underlying components or css.

correct, as @qcharlieshi said, just style the tabs to whatever you'd like. there's nothing that needs to be added to Blueprint in order to achieve what's in your screenshot

2537 adds a new OverflowList component that lets you implement a dropdown selector to collapse extra items.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vilav picture vilav  路  3Comments

adidahiya picture adidahiya  路  3Comments

westrem picture westrem  路  3Comments

ernestofreyreg picture ernestofreyreg  路  3Comments

mdebeus picture mdebeus  路  3Comments