Skip to content

Onboarding Wizard

A multi-step onboarding wizard implementation across React, Vue, and Lit.

Try it Live

Open any framework example directly in StackBlitz:

Open React in StackBlitzOpen Vue in StackBlitzOpen Lit in StackBlitz
Mobile Step 1 - Welcome

Mobile - Step 1

Mobile Step 2a - Select interests

Mobile - Step 2a

Mobile Step 2b - Select frequency

Mobile - Step 2b

Mobile Step 3 - Complete

Mobile - Step 3

Desktop Step 1 - Welcome

Desktop - Step 1

Desktop Step 2a - Select interests

Desktop - Step 2a

Desktop Step 2b - Select frequency

Desktop - Step 2b

Desktop Step 3 - Complete

Desktop - Step 3

What's Included

Experimental Feature: AI-Assisted UI Generation

Generating UI components via LLM prompting is non-deterministic; different models (and even different versions of the same model) can produce drastically varying results from identical prompts.

While these prompts have been tested using the Claude Code CLI (running Claude Sonnet 4.5), the output remains experimental. Always verify generated code for visual consistency, accessibility, and production readiness before deployment.

  • Three framework examples: React, Vue, and Lit implementations
  • Multi-step wizard flow: Welcome, interests selection, frequency selection, and completion steps
  • Timeline progress indicator: Visual step tracking with the Timeline component
  • PROMPT-3-FRAMEWORKS.md: Feed directly to your LLM for AI-assisted customization
  • PROMPT-VUE.md: LLM prompt to generate Vue onboarding wizard.
  • PROMPT-REACT.md: LLM prompt to generate React onboarding wizard.
  • PROMPT-LIT.md: LLM prompt to generate Lit onboarding wizard (web components so use this for other frameworks like Svelte, Angular, etc.).

Using with an LLM

The PROMPT-3-FRAMEWORKS.md file contains everything an AI assistant needs to understand and modify the onboarding wizard:

  1. Copy the PROMPT-3-FRAMEWORKS.md contents
  2. Paste into Claude, ChatGPT, or your preferred LLM
  3. Ask for customizations: "Add a step for selecting notification preferences"

Framework-Specific Prompts

You can follow these same steps for the framework-specific prompts located in the <root>/v2/playbooks/onboarding/ directory:

These versions allow you to customize the onboarding wizard for your specific needs.

Components Used

ComponentPurpose
ag-buttonNavigation and action buttons
ag-timelineStep progress indicator
ag-iconIcons for steps and selections
ag-alertSuccess message on completion
ag-selection-card-groupInterest selection cards
ag-selection-button-groupFrequency selection options