Magoo Component UI logo Magoo Component UI
← Catalog

Government Form Wizard

form-wizard-gov organism experimental

A multi-step official form with a numbered stepper header, a current-step field area, and Back/Next controls.

Also in: FormsNavigation

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default

Apply for a resident parking permit

  1. 1 Eligibility
  2. 2 Your details
  3. 3 Vehicle
  4. 4 Review
FirstStep

Register a birth

  1. 1 Start
  2. 2 Parents
  3. 3 Child
  4. 4 Confirm

Props

NameTypeReq
title string
steps array ✓
fields array

Related components

How to use

Step state is data-driven: each .form-wizard-gov__step carries data-active and data-done, and the marker/label styling is pure CSS from those attributes (so screenshots render the state you author). behavior.js wires the controls: Next marks the current step done and activates the next; Back reactivates the previous step; both dispatch a bubbling "wizard:step" CustomEvent with { index, number } in detail. The portable self-init reads no props object and no data-* config.

Use cases

formnav WCAG AA SEO 30 dir: both ai-generated