WizardForm
Named export — stepped flow: platform → basic → pro → confirm.
Data
- Reads/writes
generatorFormStateAtomand field atoms (currentSeedAtom,selectedRatioAtom, etc.) fromatoms/generatorAtoms.ts. WizardFormDatashape returned fromonSubmit.- Uses
useAspectRatiosfor platform step; Pro step gated byisPro.
Props
onSubmit, optional onCancel, isGenerating, isQuotaExceeded, collapse toggles, initialData partial.
Styles: WizardForm.module.css, shared FormElements.module.css.
Sources: src/app/card-generator/components/WizardForm.tsx, src/app/card-generator/atoms/generatorAtoms.ts