Prompt
What are the best alternatives to Formily?
Latest observation
If you’re looking for alternatives to Formily, the best choice depends on what you liked about it: schema-driven forms, React integration, complex nested forms, or rapid form building.
Here are the strongest alternatives:
1. React Hook Form
Best for: lightweight, high-performance React forms
Why it’s a good alternative:
- Very fast and minimal re-renders
- Great ecosystem and community support
- Works well with custom components
- Easy integration with validation libraries like Zod, Yup, and Joi
Tradeoff:
- Less “batteries included” than Formily
- Schema-driven form generation is possible, but not its core strength
2. Formik
Best for: simple to medium-complexity React forms
Why it’s a good alternative:
- Mature and widely used
- Simple mental model
- Good documentation and community
- Works well for conventional form workflows
Tradeoff:
- Can feel verbose
- Slower and heavier than React Hook Form for large forms
3. JSON Schema Form / RJSF (react-jsonschema-form)
Best for: schema-driven forms and dynamic form generation
Why it’s a good alternative:
- Strong fit if you want forms generated from JSON Schema
- Good for admin panels, workflows, and dynamic forms
- Supports custom widgets and field templates
Tradeoff:
- Less flexible than building forms manually
- Styling and complex customization can take work
4. TanStack Form
Best for: modern, headless React forms
Why it’s a good alternative:
- Modern architecture
- Headless and flexible
- Strong TypeScript support
- Designed for performance and control
Tradeoff:
- Smaller ecosystem than React Hook Form or Formik
- Still evolving compared to older libraries
5. Uniforms
Best for: schema-driven forms with React
Why it’s a good alternative:
- Works with JSON Schema, GraphQL, and Simple Schema
- Good for dynamic forms
- Supports quick form scaffolding
Tradeoff:
- Less popular today than React Hook Form
- Smaller community
6. Final Form / React Final Form
Best for: highly controlled form state management
Why it’s a good alternative:
- Fine-grained subscriptions for performance
- Good for complex forms
- Framework-agnostic core with React wrapper
Tradeoff:
- More manual setup
- Less ergonomic than newer options
7. Ant Design Form
Best for: apps already using Ant Design
Why it’s a good alternative:
- Very convenient if you’re in the Ant Design ecosystem
- Good built-in UI and form components
- Supports validation and layout out of the box
Tradeoff:
- Tied to Ant Design
- Less suitable if you want a UI-library-agnostic solution
Quick recommendations
- Best overall for React: React Hook Form
- Best for schema-driven forms: RJSF or Uniforms
- Best for modern headless control: TanStack Form
- Best if you already use Ant Design: Ant Design Form
- Best for maximum control: React Final Form
If you want, I can also give you:
- a comparison table of Formily vs these tools, or
- the best alternative based on your exact use case (React, Vue, schema-driven, enterprise admin, etc.).