Skip to content
PixiKit

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
NameTypeDefaultDescription
prevStepSideNoneThe step before this one. Leave out on the first step.
nextStepSideNoneThe step after this one. Leave out on the last step.
onPrev() => voidNoneCalled when the user goes to the previous step.
onNext() => voidNoneCalled when the user goes to the next step.
position{ index: number; total: number }NoneWhere this step sits: `index` counts from 1. Shows "3 of 12" and a progress line.
completeStepCompleteNoneA button in the middle that marks the step done.
autoAdvancenumber0Milliseconds after marking done before the next step opens; a ring counts down on the Next card. 0 turns it off.
shortcutsbooleanfalseLeft 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.
classNamestringNone

Related