Theme Playground

Base UI

Stepper

Sequential progress primitive for checkout, onboarding, and staged workflows.

Best for

checkout flowsonboarding stepsmulti-step forms

Import

import { Stepper } from "@enadhq/enad-react-sdk/client/ui-resolver"

When to use it

Use Stepper when the visitor is moving through a known sequence and needs orientation inside that flow. It fits checkout, onboarding, and multi-step forms where the next stage is predictable.

If the visitor can jump freely between panels without a real sequence, Tabs is usually the clearer pattern.

Slot strategy

Stepper is a parent-led composition with five pieces:

  • Stepper controls the active step and orientation.
  • StepperItem wraps each stage in the sequence.
  • StepperTitle gives each stage a short label.
  • StepperDescription adds supporting detail when the labels need context.
  • StepperSeparator draws the connector between items.

Keep step titles short so the current position stays easy to scan.

Behavior and theming guidance

Use activeStep to reflect the current stage from your real flow state. Do not hard-code it in a way that can drift from the route or form logic.

Horizontal orientation works best for short labels and a small number of steps. Switch to vertical when descriptions matter or when the sequence needs more breathing room on narrower layouts.

Examples

Live examples you can edit directly in the sandbox.

2 examples

Horizontal checkout steps

Use a short horizontal stepper when the sequence is fixed and visitors need quick context about where they are.

Vertical onboarding steps

A vertical stepper gives titles and descriptions more room when each stage needs a little more explanation.

Component Sets

Preview the first example across the available component-set presets to compare tone, spacing, and structural defaults.

Props

PropTypeDefaultDescription
activeStepnumber
No description yet.
orientationstring
No description yet.