Skip to content

Tabs

A tabs component built on Base UI.

Installation

First install? Complete the one-time host setup.

Live preview

Switch between sibling panels in the same space — account vs. password, overview vs. analytics.

Loading preview…

Parts

PartDescription
TabsRoot container holding the selected value (defaultValue / value + onValueChange, orientation).
TabsListRow (or column) of triggers.
TabsTriggerClickable tab; value ties it to a panel, supports disabled.
TabsContentPanel shown when its value is active.