The AutoForm
component takes in a zod
schema and generates a functional form for you so you never have to deal with a input
tag again.
This figures out the expected HTML based upon the zod
validation, meaning you don't have to figure it out yourself.
Simply define your data structure using a schema, and AutoForm
takes care of the rest, rendering a fully operational form based on your schema.
- Docs
- CodeSandbox demo
- Feedback survey
- Form Generator project in Redwood's Notion
- Original proposal from @mdkess