Velocity X Components

Standard Navigation

Wizard Stepper Nav

Numbered step navigation for checkout, onboarding and signup flows, with clear complete/current/upcoming states and a filling connector line. Collapses to a compact 'Step N of M' progress bar on phone so nothing truncates.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-wizard-stepper-nav

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Wizard Stepper Nav →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Wizard Stepper Nav

Props

NameTypeRequiredDefaultDescription
steps{ id: string, label: string, description?: string }[]No[]
currentIndexnumberNo00-based index of the active step
onStepSelect(index: number) => voidYesomit to render a non-interactive trail
allowSkipAheadbooleanNofalse
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-wizard-stepper-nav/WizardStepperNav.jsx

Using the Wizard Stepper Nav component

Install it with velocityx add standard-wizard-stepper-nav. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Navigation.