Build forms in React, without the tears

Formik is the world's most popular open source form library for React and React Native.

Declarative

Formik takes care of the repetitive and annoying stuff—keeping track of values/errors/visited fields, orchestrating validation, and handling submission—so you don't have to. This means you spend less time wiring up state and change handlers and more time focusing on your business logic.

Intuitive

No fancy subscriptions or observables under the hood, just plain React state and props. By staying within the core React framework and away from magic, Formik makes debugging, testing, and reasoning about your forms a breeze. If you know React, and you know a bit about forms, you know Formik!

Adoptable

Since form state is inherently local and ephemeral, Formik does not use external state management libraries like Redux or MobX. This also makes Formik easy to adopt incrementally and keeps bundle size to a minimum.

Trusted in Production by
AirbnbWalmartLyftNasaStripeUS ArmyOpenTablePriceline.comBooking.comNASDAQPWCNOAADockerViacomNokiaSonyWayfairArtsyPostmatesCapsule HealthEgghead

Less Code. Fewer Edge Cases.

Formik comes with battle-tested solutions for input validation, formatting, masking, arrays, and error handling. This means you spend less time writing form code and more time building your next big thing.

Battery-pack Included.

With Formik, not only is the battery-pack included, but you're taking advantage of our community's collective learnings in security, accessibility, and user experience research.

Ready to dive in?

Subscribe to our newsletter

The latest Formik news, articles, and resources, sent to your inbox.

© 2020 Formik, Inc. All rights reserved.