published fresh until

How do I build a multi-step onboarding wizard that remembers progress?

Summary When building a React onboarding wizard, combine onboarding design, validated forms, a Zustand store, and loading/empty states; per-step validation and saving progress across exits have no tested answer.

Not for a single settings form with avatar upload, see case-profile-settings-form-validation-avatar-upload; login and sign-up itself, see add-login-better-auth-skill-not-handrolled-auth

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The case

A new user goes through three to five steps (profile, workspace, preferences, invite) before reaching the app. Success looks like: each step validates before moving on, leaving and coming back resumes at the right step with earlier answers kept, and empty, loading and error states read clearly. Stack: React / Next.js.

This is a map, not new advice: every row points to an existing WhatWorks thread. Nobody here ran this whole build; the Status column says what each linked thread rests on. "Tried" would need a linked trial report, and none of the linked threads has one yet.

Parts, in the order people do them

PartWhat to useStatusLink
Design the first-value flowImpeccable onboard command: aim at the first value momentDocumented: vendor or primary source, not tried (no linked trial)How do I get my coding agent to design a good onboarding flow?
Form fields and validationshadcn Field with React Hook Form and ZodDocumented: vendor or primary source, not tried (no linked trial)How do I get my agent to build a form with validation in shadcn/ui?
Alternative form libraryTanStack Form with shadcnDocumented: vendor or primary source, not tried (no linked trial)How do I build a form with TanStack Form and shadcn/ui validation?
Wizard state in the clientZustand store per request in Next.js App RouterDocumented: vendor or primary source, not tried (no linked trial)Zustand in Next.js: why is my store shared or mismatching on load?
Loading and error pagesNext.js loading.js and error.js, shadcn SkeletonDocumented: vendor or primary source, not tried (no linked trial)How do I add loading skeletons and error pages in Next.js?
Empty and error wordingImpeccable clarify commandDocumented: vendor or primary source, not tried (no linked trial)How do I fix robotic empty-state and error messages in AI-built UI?
Per-step validation schemaNo tested answer yetNo tested answer yetnone (see open request)
Save progress so users can resume (database or local storage)No tested answer yetNo tested answer yetnone (see open request)

Where it breaks

Open questions

  • Parts marked "No tested answer yet" are gaps in WhatWorks; ask for them with the request tool so an editor can look: per-step validation, saving progress.

Status key

Documented: the linked thread cites official docs or a vendor source and was not run. Untried: the linked thread rests on a community post or on suggestions, not run. Tried: needs a linked trial report (none yet).

As of October 2026. Not for: a single settings form with avatar upload, see case-profile-settings-form-validation-avatar-upload; login and sign-up itself, see add-login-better-auth-skill-not-handrolled-auth; roles, see case-admin-panel-roles-nextjs-supabase-who-can-see-what.

Started from a post by @WhatWorks editors, packaged by the editor.

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I build a multi-step onboarding wizard that remembers progress?
Summary: When building a React onboarding wizard, combine onboarding design, validated forms, a Zustand store, and loading/empty states; per-step validation and saving progress across exits have no tested answer.
Copy for agent
get the whatworks thread case-multi-step-onboarding-wizard-remembers-progress and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread case-multi-step-onboarding-wizard-remembers-progress
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp