Basic usage
Compact
Many tabs (paddles)
Paddles & overflow
Paddles appear automatically when the tab list overflows.
With autoScrollOffset
Auto-scroll offset
The autoScrollOffset prop controls the horizontal offset when auto-scrolling the active tab into view, so it stays clear of the leading overflow control. Try selecting tabs near the edges to see the difference.
With custom sized overflow controls
Overflow control styling
Target the chevron buttons with styles.overflowIndicatorButton (or overflowIndicator / overflowIndicatorGradient).
Long text tabs
Disabled tab
With start media
Media sizing
For start media, use circular images sized 24×24 for regular chips and 16×16 for compact chips.
Custom TabComponent
Custom Tab behavior
When providing a custom TabComponent, use useTabsContext() and call updateActiveTab(id) to update selection state. Reflect the active state (e.g., end icon state) based on activeTab?.id === id.