form-builder
activeDescribe forms in JSON and get validated Formisch forms out, built on typed Valibot schemas.
form-builder turns a JSON form definition into a Valibot schema that Formisch understands, with the fields, validation, layout and conditions it describes. It is meant for forms that do not belong in source code: forms stored in a database, served by an API or put together in a visual editor.
Packages
@whatsaaaa/form-builder-schemabuilds Formisch-ready Valibot schemas from JSON definitions. It is the framework-agnostic core.@whatsaaaa/form-builder-affectsshows, hides and clears fields, sections and steps by conditions.@whatsaaaa/form-builder-vuerenders definitions with Formisch and your own Vue components.@whatsaaaa/form-builder-reactrenders definitions with Formisch and your own React components.
Status
The packages are pre-1.0, so the API and the JSON format can change between releases. A code generator that turns definitions into typed TypeScript and a visual builder are planned.