Progress
Task completion as a bar or circle from 0 to 100, or an indeterminate bar when the percent is not known.
Ordered wizard steps as numbered circles, each with a status word.
Ordered steps for a required sequence, like a plan change or checkout. Each step shows a marker and a word: Done, Current, Upcoming, Error or Optional. Not Progress, Timeline or SetupGuide.
Northwind changing from Starter to Growth, step 2 of 4. Click a Done step to go back. Add-ons is optional, so its marker is dashed.
A required sequence such as a plan change, checkout or a multi-step form. Done steps are buttons when you pass onStepClick. Upcoming steps are not. Put Back and Continue under it with kit Button: Back neutral, Continue the one primary. For a skippable first-run checklist use SetupGuide.
Ordered wizard steps as numbered circles with a connecting line and a status word under each label: Done, Current, Upcoming, Error, or Optional. Completed steps can be buttons. Horizontal switches to a compact Step n of m with a Progress bar in a narrow container. Vertical for side columns. One piece.
import { ProgressSteps } from "agentic-ds-kit";From contracts/progresssteps.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| steps | array | Yes | — | { id, label, description?, status?: complete|current|upcoming|error, optional? }[]. Status is derived from current when omitted. optional: an upcoming optional step gets a dashed marker and the word Optional. |
| current | number | No | 0 | 0-based index of the current step. Pass steps.length to mark every step complete. |
| orientation | horizontal | vertical | No | horizontal | horizontal is the default. In a container narrower than 30rem it shows Step n of m, the current label, and a kit Progress bar labelled with the next step. vertical stacks marker, then copy, for a side column or drawer. |
| size | sm | md | No | md | Marker is space-6 (sm) or space-8 (md). |
| ariaLabel | string | No | — | nav label. Defaults to Progress. |
| onStepClick | function | No | — | (index, step) => void. When set, completed steps become buttons named by their label. Upcoming steps stay inert and out of the tab order. |
Task completion as a bar or circle from 0 to 100, or an indeterminate bar when the percent is not known.
Vertical sequence of now, next, and later for ordered multi-stage work.
Switch between related views in place.
Page navigation with previous, next, page numbers, and ellipsis, plus optional first/last, a rows-per-page Select and a page or results status for table footers.