Skip to content
Browse docs and components

Steps

steps

Progress through a fixed sequence, horizontal or vertical, with complete, current and upcoming states and a connector that fills as you go. Collapses to vertical on narrow screens.

Responsive

Install

$npxshadcnadd@forme/steps

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

Steps

Progress through a fixed sequence: onboarding, checkout, a setup wizard.

PropTypeDefaultDescription
steps*readonly Step[]—
current*number—Zero-based index of the step in progress. Earlier steps render complete.
orientation"horizontal" | "vertical""horizontal"

Also takes every prop of <ol> attributes.