Tabs
A tab list for switching between views within the same context.
Filled
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | { value: string; label: string; icon?: LucideIcon; disabled?: boolean }[] | The tabs to render. | |
| value | string | Controlled active tab value. | |
| defaultValue | string | Uncontrolled initial active value. | |
| onChange | (value: string) => void | Fires when the active tab changes. | |
| bordered | boolean | true | Shows the bottom border under the whole track. |
| fill | boolean | false | Stretches tabs to share the row's width equally. |