Navigation · 5 parts · 5 states · Advanced

Tabs

Switches between related panels of content in the same place.

01Anatomy

OverviewSpecsReviews12

5 parts. Select a number or a name to see what each part does.

01 · Tab list

The row that holds all the tabs, often with a line under it.

Required
Yes

02 · Tab

One label for one panel.

Required
Yes
Recommended
One or two words. Same tone and length across the row.

03 · Selected indicator

Marks the selected tab: a line, a fill or a heavier weight.

Required
Yes

04 · Badge

A count or a status next to the label.

Required
No

05 · Tab panel

The content of the selected tab. Only one is visible.

Required
Yes

02Structure

  • Tabsauto layoutvertical
  • Tab listauto layouthorizontalstroke bottom
  • Tabinstancerepeatedhugpadding V 12H 16
  • Iconinstanceboolean
  • Labeltext
  • Badgeinstanceboolean
  • Indicatorrectanglefillboolean
  • Panelslot or frame
Structure
PropertyTypeValues
SelectedBoolean (Tab)truefalse
StateVariant (Tab)DefaultHoverFocusDisabled
BadgeBoolean (Tab)truefalse
OrientationVariant (Tabs)HorizontalVertical
LabelText (Tab)Overview

Two components: Tab, and Tabs that repeats it. Selected lives on Tab.

03States

UnselectedAvailable, panel hidden.
HoverThe label gets stronger under the pointer.
FocusTab enters the list on the selected tab; the arrow keys move between tabs.
SelectedIts panel is the visible one.
DisabledNot available yet. Rare: hiding or explaining is often better.

04Variants

LineAn underline marks the selected tab.
ContainedThe selected tab looks like the top of its panel.
With iconsIcon plus label.
VerticalTabs on the side, for many sections.

05Responsive behaviour

Desktop

All tabs in one row.

Mobile

Tabs scroll sideways, become a select, or the panels become an accordion. Varies by design system.

There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.

Fuori Frame

Proven methods for designing interfaces with AI. Every two weeks, in Italian.

Subscribe