NAVIGATION / COMPONENTS
Tab bar
Keep a small set of destinations close.
About tab bar
The Tab Bar component makes it easy to explore and switch between groups of content that are related and at the same level of hierarchy.
Anatomy
Shared parts, named consistently.
- 1Left Scroll ButtonRequired
Scrolls hidden tabs to right by one tab width.
- 2Border
An optional border around component.
- 3Tab DividerRequired
Visual separator between tabs.
- 4Tab TextRequired
Describes the content within the tab.
- 5Tab Icon
Optional icon to add more information to a tab.
- 6Right Scroll ButtonRequired
Scrolls hidden tabs to left by one tab width.
- 7Active Tab IndicatorRequired
Indicates which tab is currently active.
- 8Tabs ContainerRequired
Container for tabs where `width` is set via className prop and all overflow is `hidden`.
Try the default
A working example with the shared V1 visual language.
When to use
Use a few stable destinations with familiar icons and visible labels. Maintain the same order across views.
Arrow keys select views; Tab moves into the selected content. Selection is exposed through tab semantics.