Skip to content
Layout

Tabs

An accessible tab bar with animated underline indicator and lazy-mounted panels.

Preview:
1280px

Props

PropTypeDefaultDescription
tabs{ id: string; label: string; icon?: ReactNode }[]-Tab definitions.
activeTabstring-Controlled active tab id.
onChange(id: string) => void-Fired when a tab is clicked.
variant'default' | 'pill' | 'bordered''default'Visual style variant.