Stepper
Shows progress through a task split into ordered steps.
- Status
- ReadyBuild day 7 of 21
- Code
- In React
- Role
- Navigation
Usage
This demo is live, and the code below it is the same code, imports included. The component lives in src/ui of this repository and is not published to npm yet.
- (completed)
Personal details
Documents
Verification
Pastes as editable layers. Shadows are not exported.
import { Stepper, type Step } from "@/ui";
const steps: Step[] = [{ title: "Personal details" }, { title: "Documents" }, { title: "Verification" }];
export default function StepperDemo() {
return <Stepper current={1} steps={steps} />;
}Variants and states
Every specimen is the real component from src/ui, held in one state.
- (completed)
Personal details
Documents
Upload your ID card and payslips.
Verification
- (completed)
Personal details
Documents
Upload your ID card and payslips.
Verification
Confirm
- (completed)
Personal details
Documents
Upload your ID card and payslips.
Verification
- (completed)
Documents
- (error)
Face verification
Photo is unclear. Please retake it.
Confirm
Pastes as editable layers. Shadows are not exported.
Props
- steps
- { title, description?, disabled? }[] · default none
- Required. Three to five is the designed range.
- current
- number · default none
- Required. Index of the active step. Earlier steps show as completed.
- errorAt
- number · default none
- Index of a step in error.
- type
- "horizontal" | "vertical" · default "horizontal"
- Layout.
Figma to code
Figma properties by their exact names from Naming, and the React prop that carries each one. The table covers the shared properties that bear on this component; the Figma file decides which of them its component exposes. None means there is no prop for it yet.
- 🧰 Type
- type
- horizontal or vertical.
- 🔀 Count
- steps
- 3, 4, or 5 Step is the length of steps.
- 🎯 State
- current, errorAt, disabled
- Completed, active, and default come from current. Error and disabled are explicit.
- Title, Description
- title, description
- Per step.
- Show Connector
- None
- No prop. The connector shows between steps and not after the last one.
Accessibility
What the code in src/ui does today, and what it leaves to you.
Keyboard
- Not focusable and not interactive. It shows progress, it does not move the user.
Screen readers
- An ordered list, so the position is read. The active step has aria-current="step".
- Completed, error, and disabled are added as hidden text, so state does not rest on color.
What you still need to do
- Buttons that move between steps belong to your flow. Move focus to the new step heading when it changes.
- Say what is wrong in an error step, as the description does.
When to use
Multi-step flows such as onboarding, KYC, or checkout.
Do and don't
Do
- Name each step, not just number it.
- Mark completed, current, and upcoming steps differently.
Don't
- Use for content that can be read in any order: use tabs.
- Show more steps than fit on a phone screen.
Related
4 of 28 other molecules, same role and ready ones first.
- Navigation BarThe main app navigation: a top bar on desktop, a bottom bar on mobile.Ready
- PaginationSplits large sets of content across multiple pages.Ready
- TabsOrganizes content into separate views within the same context.Ready
- AccordionStacked sections that expand to reveal their content.Ready
Status reflects the component tracker snapshot of 29 October 2026.