Steps
Guide users through a multi-step process with visual progress indication.
When to Use
- For multi-step forms or wizards
- To show progress in a sequential workflow
- For onboarding or setup processes
Import
Examples
Basic
A horizontal step indicator.
Vertical
A vertical step layout for sidebar placement.
Small Size
A compact version for tight spaces.
Dot Style
A minimal dot indicator style.
Error Status
Show an error on the current step.
Custom Icons
API
StepsProps
current—number— Current step index (zero-based)items—StepItem[]— Step configuration arraydirection—"horizontal" | "vertical"— Layout direction (default:"horizontal")type—"default" | "navigation" | "dot" | "inline"— Visual style (default:"default")status—"wait" | "process" | "finish" | "error"— Status of current step (default:"process")size—"small" | "default"— Step size (default:"default")initial—number— Starting step index (default:0)labelPlacement—"horizontal" | "vertical"— Label positionprogressDot—boolean | ((dot, info) => ReactNode)— Use dot style or custom renderpercent—number— Progress percentage for current stepresponsive—boolean— Auto vertical on small screens (default:true)onChange—(current: number) => void— Step change callback
StepItem
title—ReactNode— Step titledescription—ReactNode— Step descriptionsubTitle—ReactNode— Step subtitleicon—ReactNode— Custom iconstatus—"wait" | "process" | "finish" | "error"— Override step statusdisabled—boolean— Disable clicking this step