Skip to content
Build forms in React, without the tears 😭
TypeScript JavaScript CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.codesandbox Update codesandbox playground Oct 28, 2019
.github Remove netlify ping (since we moved to zeit) Nov 5, 2019
.storybook added __DEV__ resolution to webpack config for storybook (#1608) Jun 14, 2019
docs Fix a few typos in tutorial.md (#2041) Nov 17, 2019
examples Fix unnecessary let usage (#1964) Nov 1, 2019
src Fix validation with instances in arrays, follow up to PR #1949 (#2029) Nov 17, 2019
test Fix validation with instances in arrays, follow up to PR #1949 (#2029) Nov 17, 2019
types Move __DEV__ declaration to global.d.ts Jun 20, 2019
website [ImgBot] Optimize images (#2035) Nov 14, 2019
.all-contributorsrc Improve handling of non event values in handleChange and handleBlur (#… Apr 2, 2019
.eslintrc.json Move __DEV__ declaration to global.d.ts Jun 20, 2019
.gitignore Upgrade tsdx Jun 22, 2019
.size-snapshot.json Merge branch 'master' into hooks May 17, 2019
LICENSE Rename license.md to LICENSE Aug 16, 2017
MIGRATING-v2.md Added v2 migration note on `FormikActions` rename to `FormikHelpers` (#… Nov 3, 2019
README.md Update README.md Nov 12, 2019
SECURITY.md Create SECURITY.md Jul 11, 2019
now.json Fix now deploys Nov 5, 2019
package.json v2.0.4 Nov 12, 2019
tsconfig.base.json Upgrade to storybook 5 May 18, 2019
tsconfig.json Remove unused includes in tsconfig.json May 30, 2019
tsconfig.storybook.json Upgrade to storybook 5 May 18, 2019
yarn.lock Upgrade React, TS, Scheduler, @types/react (#1939) Oct 28, 2019

README.md

Formik.js

Build forms in React, without the tears.


Stable Release Blazing Fast gzip size license Discord Join the community on Spectrum

Visit https://jaredpalmer.com/formik to get started with Formik.


The below readme is the documentation for the next (prerelease) version of Formik. To view the documentation for the latest stable Formik version visit jaredpalmer.com/formik/docs


Let's face it, forms are really verbose in React. To make matters worse, most form helpers do wayyyy too much magic and often have a significant performance cost associated with them. Formik is a small library that helps you with the 3 most annoying parts:

  1. Getting values in and out of form state
  2. Validation and error messages
  3. Handling form submission

By colocating all of the above in one place, Formik will keep things organized--making testing, refactoring, and reasoning about your forms a breeze.

Docs

In-browser Playgrounds

You can play with Formik in your web browser with these live online playgrounds.

Examples

Organizations and projects using Formik

List of organizations and projects using Formik

Authors

Contributors

Formik is made with <3 thanks to these wonderful people (emoji key):


Jared Palmer

πŸ’¬ πŸ’» 🎨 πŸ“– πŸ’‘ πŸ€” πŸ‘€ ⚠️

Ian White

πŸ’¬ πŸ› πŸ’» πŸ“– πŸ€” πŸ‘€

Andrej Badin

πŸ’¬ πŸ› πŸ“–

Adam Howard

πŸ’¬ πŸ› πŸ€” πŸ‘€

Vlad Shcherbin

πŸ’¬ πŸ› πŸ€”

Brikou CARRE

πŸ› πŸ“–

Sam Kvale

πŸ› πŸ’» ⚠️

Jon Tansey

πŸ› πŸ’»

Tyler Martinez

πŸ› πŸ“–

Tobias Lohse

πŸ› πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Related

  • TSDX - Zero-config CLI for TypeScript used by this repo.

MIT License.

You can’t perform that action at this time.