For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /examples/onboarding-wizard.md.

Onboarding Wizard

A four-step onboarding flow: a welcome screen, a role choice, multi-select interests and a summary.

Built with the UI components: Progress, Radio Group, Checkbox, Card, Label, Separator and Button.

What it shows

  • A step wizard — step() and @if pick the visible panel, and computed() derives the Progress value.
  • Single choice — a Radio Group with [(value)] picks one role.
  • Selectable cards — each interest row is tappable and holds a Checkbox. A tap on the box bubbles up to the row, so only the row's (bindtap) toggles the interest. Class bindings highlight the selected rows.
  • A summary — the last step lists the choices in a Card, with their names looked up by computed().