Description
Formik is an open-source form library for React and React Native. It handles the repetitive parts of a form: keeping track of values, errors and visited fields, running validation, and handling submission. It is built on plain React state and props, with no subscriptions or observables, and it does not depend on external state libraries such as Redux or MobX, so it is easy to add to an existing app one form at a time. It includes solutions for input validation, formatting, masking, array fields and error handling, and it covers wizards and multi-step forms, field-level and form-level validation, API errors, custom validation, dependent validation, conditional and dynamic fields, auto-saving, and internationalisation. The site describes it as tree-shakeable. The docs include a guide, an API reference, a user showcase and a community chat. It suits React developers who want to write fewer form state handlers and keep their validation in one place.…
Highlights
- Tracks values, errors and submission for you
- Validation at form and field level
- Arrays, wizards and conditional fields
- Built on plain React state, tree-shakeable
Ratings & Reviews
No ratings yet
Be the first to rate Formik.
People also visit
Formik FAQ
What does Formik do?
It manages a React form's values, errors, validation and submission, so you write less state and handler code.
Does it need Redux or MobX?
No. Formik uses plain React state and props and does not depend on external state management libraries.
Does it work with React Native?
Yes. The site describes it as a form library for React and React Native.
What kinds of forms can it build?
Multi-step forms and wizards, array fields, conditional and dynamic fields, and forms that auto-save.
Where can I learn it?
The site has a docs section with guides and an API reference, plus a community chat and project forum.
What are the best Formik alternatives?
Popular alternatives to Formik include Documentation, Formiz and Form. See all Formik alternatives








