Stepper

Stepper communicates a short, ordered process while keeping each step's content close to its navigation. It is currently used internally to structure manual component installation.

Use it for a small workflow where people may move directly between steps. It is not a progress tracker for background work or a substitute for route-level navigation.

Preview

Reduce motion:Off
Inspect
Add the package dependencies before copying the component source.

Installation

Usage

Props

PropertyTypeDefaultDescription
childrenReactNoderequiredStep navigation and panels.
valuenumberThe active step in controlled mode.
defaultValuenumber1The initially active step in uncontrolled mode.
onValueChange(value: number) => voidCalled when a user selects a different step.
orientation"horizontal" | "vertical""horizontal"The direction of the step navigation.

Accessibility

The step navigation is labeled and each trigger is a native button with current-step state. Keep step titles concise and preserve a logical reading order between the navigation and panels.

Styling

Use horizontal orientation for short labels and compact flows. Use vertical orientation when step titles need more room or when each panel contains substantial content.

Was this component useful?

Your feedback helps us improve the documentation.