← Design system

Tabs

Interactive examples and usage for the Tabs component.

Examples

Component preview goes here.

Pills Variant

Active: a

Props

PropTypeDefaultDescription
tabsTabDef[]requiredArray of tab definitions with value and label
valuestringundefinedControlled active tab value
defaultValuestringundefinedInitial active tab (uncontrolled)
onValueChange(value: string) => voidundefinedCallback when active tab changes
variant'line' | 'pills' | 'enclosed''line'Tab style variant

Keyboard

KeyAction
Arrow LeftMove to previous tab
Arrow RightMove to next tab
HomeMove to first tab
EndMove to last tab
Enter / SpaceActivate focused tab