<p align="center">
<img src="https://yellow-cdn.veclightyear.com/87312a0a/3e3c4243-ad35-4d57-ac88-b5129f279237.png" width="211" height="182" alt="Formik.js" />
</p>
<h3 align="center">
在React中构建表单,无需烦恼。
</h3>
<br>
[](https://npm.im/formik)
[](https://npm.im/formik)
[](https://unpkg.com/formik@latest/dist/formik.esm.js)
[](https://raw.githubusercontent.com/jaredpalmer/formik/main/LICENSE)
[](https://discord.gg/pJSg287)
**访问 [https://formik.org](https://formik.org) 开始使用Formik。**
## 使用Formik的组织和项目
[使用Formik的组织和项目列表](https://github.com/jaredpalmer/formik/issues/87)
## 作者
- Jared Palmer [@jaredpalmer](https://twitter.com/jaredpalmer)
- Ian White [@eonwhite](https://twitter.com/eonwhite)
## 贡献
这个monorepo使用`yarn`,所以首先你需要安装这个包管理器。
要运行E2E测试,你还需要设置Playwright,可以通过`npx playwright install`在本地完成。之后,运行`yarn start:app`,然后在另一个标签页中运行`yarn e2e:ui`来启动测试运行器。
当你完成更改后,我们使用[changesets](https://github.com/changesets/changesets)来管理发布说明。运行`yarn changeset`可以自动生成要附加到你的拉取请求中的说明。
谢谢!
## 贡献者
Formik是在这些优秀的人们的帮助下制作的
([表情符号说明](https://github.com/kentcdodds/all-contributors#emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| [<img src="https://avatars2.githubusercontent.com/u/4060187?v=4" width="100px;"/><br /><sub><b>Jared Palmer</b></sub>](http://jaredpalmer.com)<br />[💬](#question-jaredpalmer "回答问题") [💻](https://github.com/jaredpalmer/formik/commits?author=jaredpalmer "代码") [🎨](#design-jaredpalmer "设计") [📖](https://github.com/jaredpalmer/formik/commits?author=jaredpalmer "文档") [💡](#example-jaredpalmer "示例") [🤔](#ideas-jaredpalmer "想法、规划与反馈") [👀](#review-jaredpalmer "审核拉取请求") [⚠️](https://github.com/jaredpalmer/formik/commits?author=jaredpalmer "测试") | [<img src="https://avatars0.githubusercontent.com/u/109324?v=4" width="100px;"/><br /><sub><b>Ian White</b></sub>](https://www.stardog.io)<br />[💬](#question-eonwhite "回答问题") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Aeonwhite "错误报告") [💻](https://github.com/jaredpalmer/formik/commits?author=eonwhite "代码") [📖](https://github.com/jaredpalmer/formik/commits?author=eonwhite "文档") [🤔](#ideas-eonwhite "想法、规划与反馈") [👀](#review-eonwhite "审核拉取请求") | [<img src="https://avatars0.githubusercontent.com/u/829963?v=4" width="100px;"/><br /><sub><b>Andrej Badin</b></sub>](http://andrejbadin.com)<br />[💬](#question-Andreyco "回答问题") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3AAndreyco "错误报告") [📖](https://github.com/jaredpalmer/formik/commits?author=Andreyco "文档") | [<img src="https://avatars2.githubusercontent.com/u/91115?v=4" width="100px;"/><br /><sub><b>Adam Howard</b></sub>](http://adz.co.de)<br />[💬](#question-skattyadz "回答问题") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Askattyadz "错误报告") [🤔](#ideas-skattyadz "想法、规划与反馈") [👀](#review-skattyadz "审核拉取请求") | [<img src="https://avatars1.githubusercontent.com/u/6711845?v=4" width="100px;"/><br /><sub><b>Vlad Shcherbin</b></sub>](https://github.com/VladShcherbin)<br />[💬](#question-VladShcherbin "回答问题") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3AVladShcherbin "错误报告") [🤔](#ideas-VladShcherbin "想法、规划与反馈") | [<img src="https://avatars3.githubusercontent.com/u/383212?v=4" width="100px;"/><br /><sub><b>Brikou CARRE</b></sub>](https://github.com/brikou)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Abrikou "错误报告") [📖](https://github.com/jaredpalmer/formik/commits?author=brikou "文档") | [<img src="https://avatars0.githubusercontent.com/u/5314713?v=4" width="100px;"/><br /><sub><b>Sam Kvale</b></sub>](http://skvale.github.io)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Askvale "错误报告") [💻](https://github.com/jaredpalmer/formik/commits?author=skvale "代码") [⚠️](https://github.com/jaredpalmer/formik/commits?author=skvale "测试") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [<img src="https://avatars0.githubusercontent.com/u/13765558?v=4" width="100px;"/><br /><sub><b>Jon Tansey</b></sub>](http://jon.tansey.info)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Ajontansey "错误报告") [💻](https://github.com/jaredpalmer/formik/commits?author=jontansey "代码") | [<img src="https://avatars0.githubusercontent.com/u/6819171?v=4" width="100px;"/><br /><sub><b>Tyler Martinez</b></sub>](http://slightlytyler.com)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Aslightlytyler "错误报告") [📖](https://github.com/jaredpalmer/formik/commits?author=slightlytyler "文档") | [<img src="https://avatars0.githubusercontent.com/u/1285032?v=4" width="100px;"/><br /><sub><b>Tobias Lohse</b></sub>](http://MrLoh.se)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3AMrLoh "错误报告") [💻](https://github.com/jaredpalmer/formik/commits?author=MrLoh "代码") |
<!-- ALL-CONTRIBUTORS-LIST:END -->
本项目遵循[all-contributors](https://github.com/kentcdodds/all-contributors)规范。欢迎任何形式的贡献!
## 相关
- [TSDX](https://github.com/jaredpalmer/tsdx) - 本仓库使用的TypeScript零配置CLI。(Formik的Rollup配置作为CLI)
---
[Apache 2.0 许可证。](https://github.com/jaredpalmer/formik/blob/master/LICENSE)