Skip to content
NavigationBrowse navigation components
ComponentsNavigationNew in 0.2

Stepper

Numbered wizard with auto-counter, complete (✓) state, current state, and connecting lines.

Live preview

  1. Connect identity
  2. Map roles
  3. Invite admins
  4. Review

Usage

Adapters:React stableVue stable
index.html
<ol class="lm-stepper" aria-label="Onboarding">
  <li class="lm-step lm-step-complete"><span class="lm-step-marker"></span>Connect</li>
  <li class="lm-step" aria-current="step"><span class="lm-step-marker"></span>Map roles</li>
</ol>

CSS classes (4)

ClassDescription
lm-stepperOrdered list with auto counter-reset
lm-stepEach step; aria-current='step' = active
lm-step-completeRenders ✓ instead of number
lm-step-markerNumbered/checked circle

React props (2)

PropTypeDefaultDescription
currentnumberActive step index
orientationhorizontal | vertical

Accessibility

  • Use aria-current='step' on the active step.
  • Pair with aria-label='Progress'.

Spotted something wrong? Edit this entry on GitHub.