Tabs

Tab navigation built on Radix UI Tabs primitives. Supports both controlled and uncontrolled usage with keyboard navigation.

Basic Tabs

Preview

System overview panel.

Props

PropTypeDefaultDescription
defaultValuestring-The value of the tab to select by default.
valuestring-Controlled active tab value.
onValueChange(value: string) => void-Callback invoked when the active tab changes.
classNamestring-Additional CSS classes.

Accessibility

  • Built on Radix UI Tabs which provides full WAI-ARIA tabs pattern support
  • <TabsList> renders with role="tablist" and each <TabsTrigger> with role="tab"
  • <TabsContent> renders with role="tabpanel" and is linked to its trigger via aria-labelledby
  • Arrow keys navigate between tabs, Home and End jump to first and last tab
  • Active tab trigger has aria-selected="true" and inactive triggers have aria-selected="false"