Step Pager
Previous and next navigation for a sequence of lessons, docs pages or records. Titles slide in the direction of travel, a done button draws its check and fills, and an optional ring counts down to the next step.
pixikit.com/docs/app-ui/navigation/step-pager
Customize
Auto advance3000ms
Shortcuts
Variant
Props
10| Name | Type | Default | Description |
|---|---|---|---|
prev | StepSide | None | The step before this one. Leave out on the first step. |
next | StepSide | None | The step after this one. Leave out on the last step. |
onPrev | () => void | None | Called when the user goes to the previous step. |
onNext | () => void | None | Called when the user goes to the next step. |
position | { index: number; total: number } | None | Where this step sits: `index` counts from 1. Shows "3 of 12" and a progress line. |
complete | StepComplete | None | A button in the middle that marks the step done. |
autoAdvance | number | 0 | Milliseconds after marking done before the next step opens; a ring counts down on the Next card. 0 turns it off. |
shortcuts | boolean | false | Left and Right arrows or J and K go to the previous and next step; key hints show on the cards. |
variant | "cards" | "links" | "bar" | "cards" | `cards` bordered cards, `links` text links under a rule, `bar` one compact sticky bar. |
className | string | None |