ComponentsTabs

Tabs

Switch between sections with optional scroll arrows, icons beside labels, and a disabled state—documented in one interactive playground.

Tabs

Switch between sections. Turn on overflow for scroll arrows when tabs are cramped, add an icon beside each label, or disable the whole bar.

Active tab
Overflow
Show icons
Code preview
import { TabsBar } from "./TabsBar";

Tabs specs

Color tokens for tab labels, icons, and underlines.

TokenValueColorUsage
Active underlinevar(--lavender-500)#765cd8Highlight for the open section
Container dividervar(--border-subtle)#e2e2e2Shared bottom border for the tab row
Active labelvar(--lavender-700)#463781Text color for the open section
Inactive labelvar(--text-body-default)#3d535eText color for sections that are not open