A stepper, also called a progress stepper, is a UI design component that divides a multi-step task into an ordered sequence of labeled steps and shows the user which steps are complete, which one is active and which ones remain. It is common in checkouts, onboarding flows, account setup, configuration wizards and long application forms.
The stepper serves two purposes at once. It is a progress indicator that reduces uncertainty about the length of a task, and in many implementations it is also a navigation control that lets users return to earlier steps. Designing it well means deciding how strictly the order is enforced, how errors are surfaced and how the component adapts to small screens.
How a stepper is structured
A stepper consists of a series of step indicators connected by lines or arrows, usually laid out horizontally on wide screens and vertically on narrow ones. Each indicator combines a number or icon, a short label and sometimes an optional subtitle, while the content area below or beside it shows the form or information for the current step.
Each step moves through a small set of visual states. The states must be distinguishable by shape, icon or text as well as by color, so that the component remains usable for people with color vision deficiencies. The table lists the standard states and how they are typically rendered.
| State | Typical rendering | Meaning for the user |
|---|---|---|
| Inactive | Outlined circle with number, muted label | Step not yet reached |
| Active | Filled circle in accent color, bold label | Step currently being completed |
| Completed | Check mark icon, connector line filled | Step finished and data saved |
| Error | Warning icon, error color, helper text | Step contains invalid or missing input |
| Optional | Caption such as Optional under the label | Step may be skipped without blocking |
| Disabled | Low-contrast indicator, not interactive | Step unavailable in the current path |
Linear and nonlinear steppers
The most important design decision is whether the flow is linear or nonlinear. A linear stepper requires each step to be completed and validated before the next one becomes available. A nonlinear stepper lets users jump between steps in any order, which suits tasks whose parts are independent of each other.
| Aspect | Linear stepper | Nonlinear stepper |
|---|---|---|
| Navigation | Next and Back buttons only | Any step header is clickable |
| Validation timing | Before leaving each step | Before final submission |
| Best suited for | Dependent steps such as payment after shipping | Independent sections such as profile settings |
| Main risk | Frustration when users cannot skip ahead | Incomplete steps overlooked until the end |
Many products use a hybrid approach: steps are completed in order on the first pass, but completed steps become clickable so users can review and edit earlier answers without losing later data. This pattern combines guidance for new users with flexibility for corrections.
How a stepper compares with related patterns
A stepper overlaps with several other UI components, and choosing the wrong one is a common source of confusion. The key distinction is that a stepper communicates discrete, ordered stages of a single task, while related components communicate continuous progress or parallel content.
| Component | What it shows | When to prefer it |
|---|---|---|
| Stepper | Named stages of one task and the current position | Three to seven distinct stages with clear labels |
| Progress bar | Continuous percentage of completion | Uploads, installs or unlabeled progress |
| Tabs | Parallel views of related content | Sections with no required order |
| Accordion | Collapsible sections on one page | Short forms where everything fits one screen |
| Breadcrumbs | Location in a site hierarchy | Navigation between pages, not task progress |
A stepper usually lives inside form design and works together with clear button states for Next, Back and Submit. It should not replace good form structure: a poorly organized form split across several steps simply adds clicks without reducing effort.
Designing an effective stepper
An effective stepper keeps the number of steps small and the labels concrete. Most guidance recommends three to seven steps, because fewer steps rarely need a stepper and more steps make the indicator crowded and the task feel long. Labels should be short nouns or verb phrases such as Shipping, Payment and Review rather than generic Step 1 and Step 2.
- Group related fields so that each step has a single, recognizable purpose.
- Validate inline within the step and summarize errors on the step indicator.
- Preserve entered data when users move back, forward or reload the page.
- End with a review step before irreversible actions such as payment or submission.
- Adapt to mobile by switching to a vertical layout or a compact Step 2 of 4 label.
Accessibility requires more than visual states. The step list should be marked up as an ordered list, the current step should be exposed with aria-current="step", and focus should move to the heading of the new step after navigation so that screen reader users hear where they are.
Common stepper mistakes
Most stepper problems come from mismatches between the indicator and the actual flow. The table connects frequent symptoms with their causes and fixes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Users abandon midway | Too many steps or an unexpected long step | Merge steps and show effort per step |
| Data lost on Back | State not persisted between steps | Store answers in session or draft state |
| Step count changes suddenly | Conditional steps added without warning | Show conditional steps early or label them |
| Errors found only at the end | Validation deferred in a linear flow | Validate each step before advancing |
| Indicator unreadable on phones | Horizontal layout with long labels | Use vertical or compact mobile variant |
The simple explanation
A stepper is the row of numbered circles you often see at the top of an online form, such as Cart, Shipping, Payment and Review. It works like a map for a short journey: it tells you where you are, how far you have come and how much is left.
Knowing the length of a task makes it feel easier to finish. A good stepper removes the guesswork, and it often lets you go back to fix an earlier answer without starting over.
How it is used in practice
A bank redesigns its online loan application, which previously appeared as one page with 40 fields. Many applicants scrolled down, saw the length of the form and left. The design team splits the application into four labeled steps: Personal details, Income, Loan amount and Review.
The new flow uses a hybrid linear stepper. Each step is validated before the next one opens, completed steps show a check mark and remain clickable, and the final Review step lists every answer with Edit links. On phones, the indicator collapses into a compact Step 2 of 4 label with the step name. After release, the team observes fewer abandoned applications and fewer support calls about lost data.