MUKUL47/reactcustomformbuilder ? reverse-engineered prompt
Reverse engineered prompt
Build me a React form builder library called formloom that lets people drag and drop fields to make custom forms, save the form schema, and then render that same schema as a working form for users to fill out. I want the builder to feel polished and easy to use, with a simple save flow, live rendering, and a clean default style that can be imported once and used anywhere. Please also include a separate validator entry point that takes the saved schema and turns it into Zod so the same form rules can be checked on the server. It should handle required fields, custom validation per field, and unknown fields in a sensible way. If you need to, look up current docs online for any React or packaging details. Also make sure there’s a small example app or playground so I can see the builder and renderer working together.