Steps
Stepper with done / current / upcoming
Where someone is in a sequence — the header of a Stepper, or an order's status. The current step has aria-current="step".
Basic
- Cart3 items
- Shipping
- Payment
- Done
- Cart3 items
- Shipping
- Payment
clickableturns completed steps into buttons (@select);clickable="all"makes every other step one.orientation="vertical"stacks them with room fordescriptions.
Usage
ts
import { BlessSteps } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
steps* | BlessStep[] | — | |
orientation | "horizontal" | "vertical" | "horizontal" | |
clickable | boolean | "all" | — | completed steps are buttons that emit select; "all" makes every step one |
label | string | "Progress" | |
modelValue | number | 0 |
Events
| Name | Payload | Description |
|---|---|---|
select | [index: number] | |
update:modelValue | [value: number] |