Skip to content

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
  1. Cart3 items
  2. Shipping
  3. Payment
  4. Done
  1. Cart3 items
  2. Shipping
  3. Payment
  • clickable turns completed steps into buttons (@select); clickable="all" makes every other step one.
  • orientation="vertical" stacks them with room for descriptions.

Usage ​

ts
import { BlessSteps } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
steps*BlessStep[]—
orientation"horizontal" | "vertical""horizontal"
clickableboolean | "all"—completed steps are buttons that emit select; "all" makes every step one
labelstring"Progress"
modelValuenumber0

Events

NamePayloadDescription
select[index: number]
update:modelValue[value: number]

Released under the MIT License. Character names and artwork belong to their owners.