Examples
Small
Without Descriptions
All Completed
Two Steps
Large
StepperStep — Without Labels
StepperStep — All States
StepperStep — All Sizes
Props
Stepper
A horizontal progress stepper that displays a sequence of steps with completed, active, and upcoming states.number
required
Zero-based index of the currently active step. Steps before this are marked completed.
StepItem[]
required
Configuration for each step.
"md" | "sm" | "lg"
default:"md"
Size preset applied to all step indicators and labels.
StepperStep
A single step indicator with optional labels, used standalone or within aStepper.
string
Secondary description shown below the title.
"md" | "sm" | "lg"
default:"md"
Size preset for the indicator and labels.
"active" | "completed" | "upcoming"
default:"upcoming"
Current state of the step.
number
Step number displayed in the indicator for active and upcoming states.
string
Primary label shown below the indicator.
Exported types
Also exported from@fanvue/ui: StepItem, StepperProps, StepperStepProps, StepperStepSize, StepperStepState.
Setup: Installation · Theming