Stepper
Stepper component: a multi-step wizard indicator with list, item, trigger, indicator, title, separator and content parts. Choose numbered steps or progress bars and one of four rail colors; navigation is linear by default.
pnpm dlx shadcn add @01orbital/stepperThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
The example also imports @phosphor-icons/react from npm, which the install does not add:
pnpm add @phosphor-icons/reactnpm install @phosphor-icons/reactyarn add @phosphor-icons/reactbun add @phosphor-icons/reactUsage
import { Stepper } from "@/components/stepper/stepper"Examples
Visit Guidestepper-visit-guide
Stepper example: a numbered stepper with Back and Next controls that walks through a clinic visit preparation guide. Shows a multi-step wizard with navigation buttons.
pnpm dlx shadcn add @01orbital/stepper-visit-guideThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Edition Proofsstepper-edition-proofs
Stepper Edition Proofs: an example of stepper.
pnpm dlx shadcn add @01orbital/stepper-edition-proofsThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Plan Change Flowstepper-plan-change-01
A two-step subscription change: choose a plan, then review the switch before confirming.
pnpm dlx shadcn add @01orbital/stepper-plan-change-01The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Workspace Onboardingstepper-workspace-onboarding
Stepper example: an onboarding flow with numbered stops and working Back and Next controls. Shows a setup wizard for workspace or account onboarding.
pnpm dlx shadcn add @01orbital/stepper-workspace-onboardingThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Setup Barsstepper-setup-bars
Stepper example: a setup summary using chunky progress bar segments and a read-only completion count. Shows the bar stepper as a non-interactive onboarding progress indicator.
pnpm dlx shadcn add @01orbital/stepper-setup-barsThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Workshop Agendastepper-workshop-agenda
Stepper example: a workshop agenda with a vertical rail, numbered stops and selectable session notes. Shows the vertical stepper as an agenda or itinerary.
pnpm dlx shadcn add @01orbital/stepper-workshop-agendaThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Anatomy
Stepper is built from 9 parts. In the example they nest like this:
Stepper
├─ StepperList
│ └─ StepperItem
│ ├─ StepperTrigger
│ │ ├─ StepperIndicator
│ │ └─ StepperTitle
│ └─ StepperSeparator
└─ StepperContentStepper: A set of steps, each with an optional panel, for a multi-step form or a progress count. Holds aStepperListofStepperItemsteps and anyStepperContentpanels. Set the selected step withvalueandonValueChange, or let it manage its own fromdefaultValue.StepperList: The ordered list that holds theStepperItemsteps, in one row.StepperItem: One step, insideStepperList. It works out its state from itsvalue(completed,activeorinactive) and sets it asdata-statefor its parts and your styles. Put aStepperTriggerand aStepperSeparatorinside it, or only a separator and a title in thebarsvariant.StepperTrigger: The button that selects its step, built on the stockButtonwith no padding or fill. Put aStepperIndicatorand aStepperTitleinside it. A click selects the step unless the step is disabled or youronClickcallsevent.preventDefault().StepperIndicator: The round mark for a step, holding its number or an icon you pass. Its fill and ring follow the step's state. It is aspan, so it is valid inside the trigger's button.StepperTitle: The step's name, in small text. It is muted until the step is selected or completed.StepperSeparator: The rail after a step, hidden from assistive tech. Instepsit is a 1px line to the next step that fills once its step is completed; place it after theStepperTriggerin each item except the last. Inbarsit is the step's 4px segment, filled for completed steps and the selected one. The fill color comes from theStepperrail.StepperContent: The panel for one step, shown while that step is selected. Place it insideStepper, usually afterStepperList.StepperDescription: A line of small muted text about a step, as aspan.
API reference
Stepper
A set of steps, each with an optional panel, for a multi-step form or a progress count. Holds a StepperList of StepperItem steps and any StepperContent panels. Set the selected step with value and onValueChange, or let it manage its own from defaultValue.
It shows position, not progress: a step before the selected one reads as completed and a step after it as inactive, whichever way the user moved. When a form tracks real completion, pass completed to each StepperItem instead. Next and Back buttons change the step with setValue from useStepper. Each StepperContent mounts only while its step is selected, unless it has keepMounted.
The indicators are 28px; set --stepper-indicator-size on the Stepper to change them, and the rail stays aligned to their centers.
Prop
Type
It also accepts the HTML attributes of the element it renders.
StepperList
The ordered list that holds the StepperItem steps, in one row.
layout says where each step's title sits: inline (the default) beside its indicator, stacked under it. In stacked the list aligns the rail to the indicators' centers, so nothing needs nudging by hand.
Prop
Type
It also accepts the HTML attributes of the element it renders.
StepperItem
One step, inside StepperList. It works out its state from its value (completed, active or inactive) and sets it as data-state for its parts and your styles. Put a StepperTrigger and a StepperSeparator inside it, or only a separator and a title in the bars variant.
Items share the row's width, except the last in steps, which is only as wide as its content.
Prop
Type
It also accepts the HTML attributes of the element it renders.
StepperTrigger
The button that selects its step, built on the stock Button with no padding or fill. Put a StepperIndicator and a StepperTitle inside it. A click selects the step unless the step is disabled or your onClick calls event.preventDefault().
The selected step's trigger carries aria-current="step", and a disabled trigger keeps its full opacity. className takes a string only.
Prop
Type
It also accepts the props of the Base UI part it wraps, and the HTML attributes of the element it renders.
StepperIndicator
The round mark for a step, holding its number or an icon you pass. Its fill and ring follow the step's state. It is a span, so it is valid inside the trigger's button.
It accepts the HTML attributes of the element it renders.
StepperTitle
The step's name, in small text. It is muted until the step is selected or completed.
It accepts the HTML attributes of the element it renders.
StepperSeparator
The rail after a step, hidden from assistive tech. In steps it is a 1px line to the next step that fills once its step is completed; place it after the StepperTrigger in each item except the last. In bars it is the step's 4px segment, filled for completed steps and the selected one. The fill color comes from the Stepper rail.
It accepts the HTML attributes of the element it renders.
StepperContent
The panel for one step, shown while that step is selected. Place it inside Stepper, usually after StepperList.
Prop
Type
It also accepts the HTML attributes of the element it renders.
StepperDescription
A line of small muted text about a step, as a span.
It accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.
Registry pieces it installs with it:
Used in blocks
17 blocks are built with Stepper; the first 12: