Forms
Multi-Step Wizard Form
Three-step form with a segmented progress bar, per-step validation, and back/next navigation before calling onSubmit.
$ velocityx add multi-step-wizard-form
Built for react.
Needs react, react-dom already installed
as peer dependencies.
An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.
Full docs for Multi-Step Wizard Form →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Step 1 of 3
About you
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| steps | { id, title, fields: [{ name, label, type?, required?, placeholder? }] }[] | No | DEFAULT_STEPS | |
| onSubmit | (values: Record<string,string>) => void | Yes | ||
| submitLabel | string | No | 'Submit' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/multi-step-wizard-form/MultiStepWizardForm.jsx Using the Multi-Step Wizard Form component
Install it with velocityx add multi-step-wizard-form.
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.
Related components
More from Forms.
Debounced address-search UI shell with keyboard-navigable suggestions dropdown; geocoding is supplied by the host via props.
reactStyled native date and time input pair with a combined human-readable preview and a clear action.
reactDrag-and-drop file picker with browse fallback, size validation, and a removable selected-files list.
reactHorizontal row of togglable multi-select filter chips with an active count and clear-all action.
react