Design System
Navigation

Stepper

Show progress through a multi-stage task, marking completed, current and upcoming steps.

Purpose

Use a stepper when the order is fixed and the person needs to know how much is left. If the sections can be completed in any order, use Tabs.

Example

  1. Details

    Member and employer

  2. 2

    Entitlements

    Choose the plan

  3. 3

    Dependants

    Add family members

  4. 4

    Review

    Confirm and submit

States

Every step is in exactly one of three states, derived from the zero-based current index: steps before it are complete (a check on a --primary disc), the step at it is current (its number in a --primary-ringed circle), and steps after it are upcoming (muted). There is no per-step state to manage — move current and the whole trail follows.

  1. Complete

    Before the current index

  2. 2

    Current

    At the current index

  3. 3

    Upcoming

    After the current index

Structure

The tokens behind the control.

PropertyValue
Marker32px circle, 2px border, 14px / Inter 600 number
Complete--primary fill, 18px check glyph in --primary-foreground
Current--primary border, --background fill, number in --primary-strong
Upcoming--border border, number in --muted-foreground
Connector2px line — --primary once reached, --border beyond
Label14px / Inter 600 (--muted-foreground when upcoming)
Description12px --muted-foreground

Best practices

Do

  • Keep labels short and stage-like — "Details", "Review" — with the detail in description.
  • Keep the count between three and six; more means the task needs restructuring.
  • Use orientation="vertical" in narrow layouts rather than letting labels collide.
  • Advance current only when a stage is actually done — it is a promise of completion.

Don't

  • Use a stepper when stages can be done in any order — that is Tabs' job.
  • Rely on the markers as navigation — they are indicators, not buttons; provide separate back/next controls.
  • Renumber or reorder steps mid-task.
  • Pair it with unordered progress — for a single percentage, use a progress bar.

Accessibility & keyboard

  • Renders a semantic ordered list (<ol>), so the step count and order are announced.
  • The current step's list item carries aria-current="step"; steps before it are complete, steps after it upcoming — conveyed by their position in the list.
  • The check glyph on completed steps is decorative (aria-hidden) — programmatically, complete and upcoming are distinguished by position relative to the aria-current step, not by the icon.
  • Keyboard: none — the stepper is a static indicator with no focusable parts. Put keyboard interaction on the flow's back/next controls.

Props

PropTypeDefaultDescription
stepsrequiredStep[]—Ordered list of steps to render, in sequence.
currentrequirednumber—Zero-based index of the current (in-progress) step. Earlier steps render as complete, later ones as upcoming.
orientation"horizontal" | "vertical" | undefined"horizontal"Layout direction of the sequence.

On this page