Skip to content

Demo

bash
npm install
npm run demo

Opens at http://localhost:5174:

PageWhat it shows
Basic formFieldDefinition[] with built-in validators
JSON schemaServer-driven schema with rule-based validators
OpenAPI / JSON SchemaparseOpenAPI() from a request body + $ref, parseJSONSchema() standalone
Zod schemaparseZod() with type inference
Yup schemaparseYup() with Yup constraints
Conditional fieldsvisible / disabled as function and string expression
Input maskingAll presets + custom patterns
FormRendererSlot overrides, custom component map
Array fieldstype: 'array' + useFieldArray API
Multi-step wizarduseMultiStepForm + step progress
Dependent fieldsSync/async function options, defaultValue as function
Custom registryprovideRegistry replaces built-in checkbox with PillToggle
File uploadDrag-and-drop, fileType/fileSize/fileCount validators
Server-side errorsapplyServerErrors() with a simulated Laravel 422 response
Tailwind themeDefault FormRenderer vs TailwindFormRenderer side by side
UI themesShadcnFormRenderer / PrimeVueFormRenderer / NaiveFormRenderer, same schema
Accessibilityaria-* attributes, fieldset/legend for radio groups