Skip to content
Storybook

Stepper

Shows progress through a multi-step flow. Horizontal for wide forms, Vertical for side panels.

Preview

React · live from the Storybook

HTML and CSS

The same component as plain HTML with pixels-ui.css, no framework needed.

  1. Your detailsName and email
  2. 2CompanyTeam and size
  3. 3Invite teamStart collaborating

Installation

Included in the core files. No extra install.

HTML
<link rel="stylesheet" href="/css/pixels-tokens.css">
<link rel="stylesheet" href="/css/pixels-ui.css">
<script src="/js/pixels-ui.js" defer></script>

Examples

Vertical

  1. Upload filebrand.fig
  2. 2Run auditChecking 312 layers
  3. 3See report

API reference

Class / attributeTypeDescription
px-stepper · --verticalclassOrientation.
px-step--complete · --current · --upcomingclassStep state.

Figma properties

Stepper4 variants · page “Data display”Open

Shows progress through a multi-step flow. Horizontal for wide forms, Vertical for side panels and mobile. RTL runs right-to-left. Mark the current step with aria-current="step".

PropertyTypeValues
OrientationVariantHorizontal Vertical
DirectionVariantLTR RTL
Stepper / Indicator3 variants · page “Data display”Open

Step status marker used by Stepper.

PropertyTypeValues
StateVariantComplete Current Upcoming

Design tokens

Component tokens from the Figma Component collection. Override them to restyle just this component.

TokenAliasLight value
--px-stepper-completecolor-background-brand-default#2563eb
--px-stepper-current-ringcolor-border-brand-default#2563eb
--px-stepper-current-backgroundcolor-background-brand-subtle#eff6ff
--px-stepper-upcoming-bordercolor-border-neutral-strong#667085
--px-stepper-connectorcolor-border-neutral-default#eaecf0

Accessibility

  • Mark the current step with aria-current="step".