Visual builder
Configure a form in a UI and copy out the schema JSON.
Don't want to author schema JSON by hand? ReactFormSwitch ships a visual builder that
configures everything — theme colors, radius/border, size, label & button position,
error mode, toast position + TTL, per-field validation and custom messages, options,
image constraints, and multi-step — then hands you the JSON to paste straight into
<FormSwitch schema={...} />.
Run it from the ReactFormSwitch repo:
npm run playground # opens the builder at /web/The output is a plain schema object — everything documented under
Look & behavior, Validation, and Fields is
expressible there, so you can start in the builder and hand-tune later.
The builder is a companion to the library, not a runtime dependency — your app only ships
reactformswitch itself.