Components · Tabs
Tabs
A tab list, its selection indicator, triggers, and panels.
Anatomy
- 1
.tabs-rootTabs composition boundary. - 2
.tabs-listContainer for tab triggers. - 3
.tabs-triggerSelects and labels a tab panel. - 4
.tabs-indicatorAnimated marker for the selected tab. - 5
.tabs-contentPanel associated with a trigger.
Variants
- Primary
- Secondary
A single active panel, with keyboard navigation owned by Ark UI.
The same part utilities work with any headless tab anatomy.
When to use
Use tabs to move between peer views whose content can be understood from short, stable labels.