--- title: Progress Steps summary: A progress step helps users track their place in a short process by breaking it into clear, simple steps. This makes flows like setup or onboarding easier to follow and finish. new: true description: Use progress steps to display compact onboarding, checkout, and setup progress. layout: '@layouts/DocsMdxLayout.astro' --- import Example from '@components/Example.astro'; import ProgressSteps from '@ui/ProgressSteps.astro'; ## Default markup Use `.progress-steps` as the container and `.progress-steps-item` for each segment. These two classes are enough to create the base component structure. ```html
``` The example below shows the default progress step structure.
## Variants ### Current and completed step Use color classes to mark completed steps. Set `aria-current="step"` on the current item. ### Custom labels Use hidden labels so assistive technologies can announce meaningful step names. ### Color state Use contextual background classes on completed and current items. This helps match state color to your flow semantics.
  1. Step 1
  2. Step 2
  1. Step 1
  2. Step 2
  1. Step 1
  2. Step 2
### Width and layout utilities Use utility classes on `.progress-steps` to control width and placement in layouts.