Explore projects
TypeScriptintermediateweb
Type-safe Form Builder
Drag-and-drop visual form builder that generates Zod schemas and React components from the defined configuration.
5 steps
Project steps
- 01
Field palette & canvas
Drag-and-drop component with dnd-kit: drag fields (text, select, date, checkbox) onto the canvas.
- 02
Field config panel
Clicking a field opens a configuration panel (label, placeholder, validations).
- 03
Schema Zod generator
From the form configuration, generate an equivalent Zod schema object.
- 04
Live preview
Render the generated form with react-hook-form and Zod schema in real-time.
- 05
Export code
Export button that generates the TSX code for the form component.
Recommended resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech stack
ReactTypeScriptZoddnd-kitreact-hook-form