Steps
Show the progress and current step of a task.
Basic usage
The current step index starts at 0. Unless an item has its own status, statuses are derived from current.
- Create
- Review
- Done
basic.tsx
Examples
Controlled steps
Providing onChange makes steps selectable. Store the reported index in application state; the component does not advance it automatically.
controlled.tsx
Vertical layout
Set direction="vertical" to arrange the steps vertically.
- CreateEnter basic information
- ReviewCheck and confirm settings
- DoneGet started
vertical.tsx
Error state
Use status="error" to mark the current step as failed.
- Create
- Review
- Done
error.tsx
Dot steps
Set progressDot to display steps with dot indicators.
- Create
- Review
- Done
capabilities.tsx
Progress within a step
percent shows progress inside the current step icon, not overall task progress. It is not shown in dot mode.
- Create
- Review65%
- Done
progress.tsx
API
Steps API
Configure the current step, step data and layout.
StepItem
Describe an individual step title, status and supporting content.