Overview
AutoForm builds React forms from schemas that already describe application data, such as Zod. It reduces repetitive field wiring and validation setup while letting teams choose their form engine and UI integration.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Build fields and validation from a schema
Schema providers for Zod, Yup, and Joi map schema fields into form inputs and connect validation to the selected form engine.
Choose the form engine and UI integration
AutoForm supports React Hook Form or TanStack Form and official UI integrations including shadcn/ui, Material UI, Mantine, Ant Design, and Chakra UI.
Useful for routine forms in admin and internal applications
It fits CRUD and settings interfaces where an existing API schema can also become the source for form structure and validation.
Sources: [2]
Treat complex forms as customization work
AutoForm is not intended to cover every form-builder edge case. Conditional flows and specialized inputs may require fieldConfig, custom fields, or renderer customization.
Official sources
- [1]vantezzen/autoform repository(2026-09-21)
- [2]AutoForm README(2026-09-21)
- [3]AutoForm React getting started(2026-09-21)
- [4]AutoForm React customization(2026-09-21)
- [5]AutoForm MIT license(2026-09-21)
Supplemental curator note
AutoForm is especially useful when an API or backend already has schemas such as Zod that can also drive form generation. Complex conditional flows and custom inputs may still require fieldConfig or custom components. In Next.js, the form that owns the schema must run as a client component.
Try it in 3 steps
- 1
Install the form engine and Zod integration
This is the minimal React Hook Form path. Use a Zod version newer than 3.25.0.
npm install @autoform/react react-hook-form @hookform/resolvers @autoform/zod zod - 2
Add the shadcn/ui AutoForm integration
Add the official React Hook Form AutoForm component from the shadcn registry.
npx shadcn@latest add https://raw.githubusercontent.com/vantezzen/autoform/refs/heads/main/packages/shadcn/registry/autoform-rhf.json - 3
Pass an existing schema to the form
Wrap the existing schema in ZodProvider and pass it to AutoForm. In Next.js, keep the schema-owning form in a client component.
new ZodProvider(schema) → <AutoForm schema={schemaProvider} withSubmit />
Growth
Growth trends · Last 30 days
3,494 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 0
- Open PRs
- 3
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- form-validation
- react
- react-component
- shadcn-ui
- Stars
- 3,494
- Forks
- 148
- Watchers
- 15
- Open issues
- 15
- Contributors
- 26
- Primary language
- TypeScript
- License
- MIT
- Repository last updated
- Jul 15, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- React Hook Form44,868 Stars
3 shared tag(s) · 2 shared category(s) · Same language
A React forms library that manages input state, validation, errors, and submission through hooks while preserving native form behavior and reducing rerenders.
TypeScript - Cal.diy48,583 Stars
3 shared tag(s) · Same language
A MIT-licensed self-hosted community scheduling platform with Cal.com's enterprise code removed.
TypeScript - Orgnise247 Stars
3 shared tag(s) · Same language
A Next.js and MongoDB collaboration app combining knowledge bases, documentation, and project/task management.
TypeScript - Redux61,490 Stars
2 shared tag(s) · 2 shared category(s) · Same language
A JavaScript/TypeScript state-management library that centralizes application state in a store and updates it predictably through actions and reducers. Redux Toolkit is the officially recommended approach today.
TypeScript - Expo52,361 Stars
2 shared tag(s) · 2 shared category(s) · Same language
A universal React Native framework for building Android, iOS, and web apps from one project model.
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.