Skip to content
PixiKit

Step Track

Progress through a multi-step flow. The connector fills and drains, the check draws itself, and the counter rolls.

pixikit.com/docs/app-ui/navigation/step-track

Customize

Current0
Linear
Variant
Orientation
Show counter

Props

9
NameTypeDefaultDescription
stepsStepTrackStep[]DEFAULT_STEPSThe steps of the flow, in order.
currentnumber0The index of the current step; done and upcoming are worked out from it.
onStepChange(index: number) => voidNoneCalled with the index of the step the user clicks.
linearbooleantrueOnly done steps and the current one can be clicked; off lets the user jump anywhere.
variant"circles" | "bars" | "dots""circles"`circles` numbers the steps, `bars` draws a segment per step, `dots` is the smallest.
orientation"horizontal" | "vertical" | "auto""horizontal"`auto` lays the steps in a row when the container is wide enough, else in a column.
showCounterbooleanfalseShows a "Step 2 of 5" line whose number rolls.
ariaLabelstring"Progress"Name for the navigation landmark, read by screen readers.
classNamestringNone

Related