Components
Components
Stepper
Multi-step progress indicator with horizontal and vertical orientations.
newfree
Install
@hewnui/ui · hewnui
Stepper tracks wizard progress with complete, current, upcoming, error, and
optional states. Pair it with useStepper for controlled flows.
Usage
States
- Complete, current, upcoming (derived or explicit)
- Error — alert glyph in the indicator
- Optional — dashed indicator + Optional label
Accessibility
- Navigation landmark with an accessible name
- Current step exposes
aria-current="step" - Indicators are presentational; titles provide the accessible name
- Clickable completed steps are real buttons with 40×40 indicators and press scale
- Connectors are
aria-hidden
API reference
Props for Stepper from @hewnui/ui/stepper. Generated from component types — not hand-written.
Prop
Type