This is a Fork of the original Formik repository. It is intended to be used as a dependency in other projects with minimal changes to address bugs, since the original repository is not actively maintained (as of March 2025).
The main branch contains the original Formik codebase, while the main-dev branch is the main development branch for this fork.
This Fork has a custom-publish script.
yarn custom-publishThis should be called from the main-dev branch after making/merging changes to the codebase. The script builds the package and updates a dedicated custom-build branch containing only the distributable files. It then commits and forceβpushes these changes to GitHub, allowing you to continuously install the latest build with:
yarn add git+https://github.com/zduvall/formik.git#custom-buildNote that the custom-publish script uses a custom script, also named custom-build, which forces a build even if there are no detected changes.
Visit https://formik.org to get started with Formik.
List of organizations and projects using Formik
- Jared Palmer @jaredpalmer
- Ian White @eonwhite
This monorepo uses yarn, so to start you'll need the package manager installed.
To run E2E tests you'll also need Playwright set up, which can be done locally via npx playwright install. Afterward, run yarn start:app and in a separate tab run yarn e2e:ui to boot up the test runner.
When you're done with your changes, we use changesets to manage release notes. Run yarn changeset to autogenerate notes to be appended to your pull request.
Thank you!
Formik is made with <3 thanks to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
- TSDX - Zero-config CLI for TypeScript used by this repo. (Formik's Rollup configuration as a CLI)
