Back to Tabs
Tabs

Vertical layout

Side navigation with a disabled tab.

Profile settings and avatar.

API

PropTypeDefaultDescription
tabsTabItem[]Tab definitions with title, content, disabled, icon, and badge.
activeTab / defaultActiveTabnumberControlled / uncontrolled active tab index.
onTabChange(index: number) => voidFires when the active tab changes.
variant"underline" | "pill" | "outline"pillVisual style for the tab strip.
orientation"horizontal" | "vertical"horizontalTab list layout; switches arrow-key axis.
fullHeaderbooleanfalseStretch tabs to fill the header width.
firstLastNavControlbooleanfalseShow jump-to-first/last tab buttons.
classNamestringMerged onto the root tabs container.
id (TabItem)stringOptional stable id for the tab panel.
iconClassName (TabItem)stringExtra classes on the tab icon.
badgeVariant (TabItem)Badge variantVisual style for the tab count badge.
View full API on Tabs

More Tabs examples