Tabs
Markdown for agentsTabbed content container with ARIA tablist semantics and keyboard navigation.
npx slipstream-ui@latest add tabsUsage
Overview panel content.
Analytics panel content.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Controlled active tab value. |
| defaultValue | string | — | Initial tab value when uncontrolled. |
| onValueChange | (value: string) => void | — | Called when the active tab changes. |
Accessibility
- role=tablist/tab/tabpanel with aria-selected and aria-controls.
- Roving tabindex: only the active tab is tabbable.