Skip to content
Saeede Agahi

Tabs

BetaBatch C. Switch between views in the same place.

When to use

Use to switch between related views of the same thing.

When not to use

Don't use for steps in a sequence, or when people need to compare content side by side.

Anatomy

Panel content

  1. Tab list, named for screen readers
  2. Tabs
  3. Line under the selected tab
  4. Panel

Variants

One style. The tab row scrolls sideways when the tabs do not fit; they never wrap.

States

Pictures of each state. Use the live example on the Code tab to try the component.

Tabs states
DefaultHoverFocus-visibleSelectedDisabled
md
sm