Stepper

Shows progress through a linear sequence of steps.

Beta
Show details
Beta
Published: December 02, 2024
Updated: October 20, 2026

Overview

The Stepper shows where users are in a linear flow, such as a multi-step form or an onboarding process. Each step shows its status, and connectors show the progression.

Stepper with five steps: one complete, one in error, three upcoming

Key features

  • Composable: the Stepper is a container with a Steps slot; each step is configured on its own.
  • Three statuses: Complete, Current and Upcoming, plus Error and Disabled.
  • Three sizes: md (24 px), sm (20 px) and xs (8 px).
  • Indicator content: a number or a dot; complete steps can show a check.
  • Themes: Spark and Ocean, light and dark.

Anatomy

Stepper anatomy with numbered markers on the indicator, connector, label and description
  1. Indicator: shows the step number, a dot or a check, and the step status.
  2. Connector: links a step to the next one and shows the progression.
  3. Label (optional): short name of the step.
  4. Description (optional): extra information under the label.

Properties

Figma

Code

Notes

Status

status

complete, current or upcoming. Default: upcoming.

Error

error

Takes priority over Checked. Connectors keep the color of the status.

Disabled

disabled

Reduced opacity on the indicator, label and description. Connectors keep full opacity.

Label, Show label

label

Hidden when empty.

Description, Show description

description

Hidden when empty.

Content (on Indicator)

content

number or dot. xs has no content.

Checked (on Indicator)

checked

Shows a check on complete steps only.

Size (on Indicator)

size on nv-stepper

Set once on the container and inherited by every step.

Number (on Indicator)

—

Computed from the order of the steps in code; update it by hand in Figma after reordering.

—

locale

Code only. Language of the step state that screen readers announce (Completed, Current step, Not started, Error). Default: the browser language.

—

focusable on nv-stepper-item

Code only. Default: false. The step receives focus only when set and not disabled.

—

aria-label or aria-labelledby on nv-stepper

Code only. Required: names the list of steps for screen readers. A console warning appears when both are missing.


Look and feel

Status

  • Complete: the step is done. The connector to the next step is filled.
  • Current: the step the user is on. Use one per Stepper.
  • Upcoming: a step not started yet.
Stepper showing two complete steps, one current step and two upcoming steps

Error and disabled

Error replaces the indicator content with an exclamation icon and colors the label and description. The connector keeps the color of the step status. Disabled reduces the opacity of the indicator, label and description; connectors keep their color and opacity.

Stepper with a complete step, a step in error and a disabled step

Sizes

Use md by default, sm in dense layouts and xs as a compact marker without content. Labels and descriptions keep the same typography in every size.

Stepper in md, sm and xs sizes

Themes

Spark and Ocean, in light and dark mode.

Stepper in Spark light, Spark dark, Ocean light and Ocean dark

Behavior

  • The Stepper is horizontal. A vertical orientation is reserved for a later version.
  • Connectors are resolved automatically: the first step has no incoming connector and the last step no outgoing one.
  • Step numbers come from the order of the steps in code.
  • Steps and connectors share the width; indicators keep a fixed size.

Accessibility

  • Status is not conveyed by color alone: complete steps can show a check and errors show an exclamation icon.
  • Steps are display-only and outside the tab order by default. Set focusable to let a step receive focus (disabled steps never do); focus uses the native focus-visible ring.
  • Labels and descriptions use the error color in the Error state; keep the error text explicit.
  • The Stepper is a list and each step is a list item, so screen readers announce the position (for example "2 of 4"). Name the list with aria-label or aria-labelledby.
  • Each step announces its state as text (Completed, Current step, Not started, Error), in the language set by locale.

Usage

Do
Stepper with short step labels and one current step

Use short labels and keep a single current step.

Don't
Stepper with long sentence labels and two current steps

Don't write sentences as labels, and don't mark several steps as current.


Tokens

Color tokens: components/stepper/indicator/{complete, current, upcoming, error}/{background, content, border}, components/stepper/indicator/extra-small/error/background, components/stepper/connector/{complete, upcoming}/border, components/stepper/content/{default, upcoming, error}, components/stepper/focus/border.

Size and spacing tokens: stepper/indicator/*, stepper/item/*, stepper/connector/thickness, stepper/track/height, stepper/focus/*, stepper/disabled/opacity.

Typography tokens: stepper/item/label/*, stepper/item/description/*, stepper/indicator/{medium, small}/content/*.


The Figma file contains the latest UI designs, while the links to Web Component, Blazor, Angular, React, and VueJS provide a live demo of components in various states, themes, and interactions.

Figma component

Webcomponent

-

Blazor

-

Angular

-

React

-

VueJS

-

Feedback

Have feedback, an idea, or a bug to report? Head over to our Contributions page.