Diwa Design System

Stepper Horizontal

Displays progress through a sequential multi-step process with a horizontal step indicator.

diwa-stepper-horizontal Properties

NameTypeDefaultDescription
activeStepIndexnumber0Zero-based index of the currently active step.
theme'dark' | 'light''dark'Per-component theme override.

diwa-stepper-horizontal Events

NameDetail typeBubblesDescription
update{ activeStepIndex: number }NoEmitted when activeStepIndex changes.

diwa-stepper-horizontal Slots

Default slot — accepts one or more diwa-stepper-horizontal-item elements.

diwa-stepper-horizontal-item Properties

NameTypeDefaultDescription
labelstring''Step label displayed below the step circle.
sublabelstring''Optional secondary text (e.g. estimated time).
state'complete' | 'current' | 'incomplete''incomplete'Step state. Managed automatically by the parent stepper.
stepNumbernumber11-based step number shown in the circle. Managed by the parent.
isLastbooleanfalseHides the connector line after this step. Managed by the parent.
theme'dark' | 'light''dark'Per-component theme override.

diwa-stepper-horizontal-item Slots

diwa-stepper-horizontal-item uses no slots. Provide the step label via the label prop.