Build forms in React, without the tears
open sourceApache-2.0free
Formik is a small library for building forms in React and React Native that handles the three most annoying parts: getting values in and out of form state, validation and error messages, and form submission, keeping them in one place. It was written by Jared Palmer. Its maintainers have been inactive since November 2025.
Problems it solves
- manage form state and validation in React
- handle form submission in a React app
- build forms in React Native
Features
- form state management for React
- validation and error messages
- form submission handling
- React Native support
Alternatives
The same job
These do what Formik does.
- React Hook Form Performant, flexible and extensible forms with easy-to-use validation
- TanStack Form Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit
- react-jsonschema-form A React component that builds web forms from a JSON Schema.
