Tabbed content container with ARIA tablist semantics and keyboard navigation.

npx slipstream-ui@latest add tabs
Usage
Overview panel content.

Props

PropTypeDefaultDescription
valuestring—Controlled active tab value.
defaultValuestring—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.