Skip to content
Work in progress - do not use in production. This component is still being built: it is not flagged Ready for Dev, so its markup, attributes, events and styles can all still change without notice, it is not covered by the accessibility gate, and it is not published to npm. It is on this site so the work can be seen and reviewed - nothing more.

Stepper

A multi-step progress indicator for workflows or forms.

Usage

<section is="root-stepper" aria-label="Progress">
  <button type="button" step aria-current="step">Step 1</button>
  <button type="button" step>Step 2</button>
  <button type="button" step>Step 3</button>
</section>

Attributes

Attribute Type Default Description
current number 1 Current active step
total number - Total number of steps
aria-label string 'Progress' Accessible label

Events

Event Detail Description
root-stepper.step-change { step } Fired when step changes

Extends

HTMLElement - use with <section is="root-stepper">.