Components
BaseStepTracker
Horizontal stages with icons, names and dates, such as an order, a shipment or an application.
components/ui/BaseStepTracker.vue
View in the demo
Example
- Placed3 Nov
- Paid3 Nov
- Shipped5 Nov
- Delivered
Each step is done, current or upcoming: done steps show a check, the current one a ring and aria-current="step", and the line between steps fills up to the current one. Pick color from the state: inverse while on track, success once finished, error when late. Orders use it through OrderTracker, which turns an order into steps. For a compact bar of segments without icons, use BaseStepProgress.
Narrow column
In a narrow side column the steps share the width equally and long dates wrap in balanced lines with a little space between steps.
- PlacedNovember 29, 2026
- PaidNovember 30, 2026
- ShippedDecember 2, 2026
API
Props
Name | Type | Default | Description |
|---|---|---|---|
stepsrequired | BaseTrackerStep[] | — | The stages { id, label, icon, state, date? }, where state is done, current or upcoming. A done stage shows a check, the current one a ring, and the line between stages fills up to the current one. |
color | string | "inverse" | The colour of the done and current stages: inverse while on track, success once finished, error when late. |
label | string | — | The accessible name of the list, such as "Order progress". |