
About Formik
Formik is an open source form library for React and React Native. It keeps track of values, errors and submission state so you can focus on your form logic.
What it does
Formik wires up form state, change handlers and validation for you. It works with plain React state and props rather than a separate store. It supports field-level and form-level validation, multi-step forms, array fields and error messages returned from an API.
Key features
- Field-level and form-level validation
- Multi-step wizards and dependent fields
- Array fields for repeating inputs
- Error messages returned from an API
- Works with React Native as well as React
Who it's for
React developers who want a clear form API without adding a state library. Teams that build forms in both web and mobile React apps may also find it useful.
Pricing and good to know
Formik is open source under the Apache-2.0 license and free to use. The site also mentions an enterprise offering, which is separate from the open source library. Because forms are often a large part of an app, keep validation rules close to each field to make changes easier later.
Highlights
- Field-level and form-level validation
- Multi-step wizards and dependent fields
- Array fields for repeating inputs
- Error messages returned from an API
- Works with React and React Native












