Awesome WYSIWYG codegen Shadcn/ui Form Builder
Demo
·
Report Bug
·
Request Feature
- Table of Contents
- About The Project
- Installation
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgments
Creating forms has never been simpler, thanks to shadcn/ui and React Hook Form. But what if we took it a step further? Imagine if you could simply select the input fields you need, and the rest was done for you—automatically:
- Generate a Zod schema tailored to your selected fields.
- Create complete form code, fully integrated with your chosen fields.
- Include validation, default values, and more advanced configurations.
With just a few clicks, your form could be ready to go!
-
Clone the repo
git clone https://github.com/strlrd-29/shadcn-ui-form-builder
-
Navigate to project dir
cd shadcn-ui-form-builder
-
Install NPM packages
pnpm install
Start the dev server
pnpm dev
Open your browser and navigate to http://localhost:3000 to see the application in action.
- Ability to have multiple fields on one line and to re-arrange them as you want.
- Add More fields
- File input
- OTP input
- Multi select
- Phone input
- Add choice to use yup validation
- Add Form Templates.
- Add more detailed customizations on fields (regex for text inputs for eg.)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Ghribi Ouassim Abdelmalek - @strlrd29 - me@ouassim.tech
Project Link: forms.ouassim.tech