All components

NAVIGATION / COMPONENTS

Tabs

Switch between related views.

Live component6 documented props

About tabs

Tabs are interactive UI components designed to organize and display content in a segmented manner, allowing users to easily navigate between multiple views or sections without leaving the current page. They provide a streamlined user experience by grouping related content together, making it accessible with a single click.

01

Anatomy

Shared parts, named consistently.

  1. 1
    Tab contentRequired

    The text label or optional SVG inside the tab.

  2. 2
    Divider

    Creates visual separation in-between adjacent tabs.

  3. 3
    Selected highlight

    Visual cue to denote the currently selected tab.

Try the default

A working example with the shared V1 visual language.

A shared vocabulary for your product.

When to use

Use for peer views within the same context. Keep labels short and avoid hiding steps that must be completed in sequence.

Arrow keys move between tabs and activate immediately. Home/End move to the first/last tab. Tab enters the active panel.

Related components

Source & adaptation

V1 semantic colors, DM Sans typography, compact controls, and responsive layouts. The API table describes this implementation; source design notes may use earlier API terminology.

components/library/navigation.tsx