Examples
The JSON files in examples/definitions drive the documentation playground.
Available definitions
| File | Type | What it shows |
|---|---|---|
basic-form.json | Single step | Text, autocomplete, datetime, and basic validation |
conditional-fields.json | Single step | Payment fields controlled by show conditions |
multi-step.json | 3 steps | Navigation, progress, defaults, and several field types |
validation.json | Single step | Length, pattern, range, and matchField validation |
Next steps
- Figma Plugin: render these definitions as Figma mockups
- /formhaus-create-form: generate new definitions with Claude
- Definition Reference: full TypeScript types