Components
Step progress
Segmented position indicator for a short, fixed sequence of steps.
import { StepProgress } from "@openperf/deft";
<StepProgress.Root count={3} current={2} />;current counts from 1: the first current segments are filled, and 0 fills none. The segments are 3px tall and split the full width of the container evenly. They have no labels and are not interactive.
API
The accessible name and value text default to "Step 2 of 3" for the current numbers, translated through Lingui. Pass aria-label to name the flow instead.
Prop
Type