Installation
Examples
Line variant (default)
Underline indicator on the active tab.
Overview tab content goes here.
Pills variant
Segmented control style.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Controlled active tab. |
| onValueChange | (v: string) => void | — | Called when tab changes. |
| variant | 'line'|'pills'|'enclosed' | 'line' | Visual style. |
| orientation | 'horizontal'|'vertical' | 'horizontal' | Layout direction. |