UI Library

Tabs

toolbar: shared state

overview content — shared state

Prop Type Default Value Notes
ariaLabelstring?'Tabs'
Accessible name for the nav.
classNamestring?''
Extra classes appended to the header row.
pathnamestring?—
Route mode: active path drives link rendering.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Control scale; numbers are icon-scale pixels. Scales the nav and tab text and chrome.
variant'segmented' | 'underline''underline'
Presentation: a baseline strip with a bottom accent per active tab, or a pill row in a bordered nav.
stateTState——Passed to the toolbar/content snippets.
tabsTab<TState>[]——Label, path, optional toolbar snippet, content snippet.