Formik: Build forms in React, without the tears


本站和网页 https://formik.org/ 的作者无关,不对其内容负责。快照谨为网络故障时之索引,不代表被搜索网站的即时页面。

Formik: Build forms in React, without the tearsHomeDocsBlogUsersEnterpriseFeedbackGitHubGitHubTwitterTwitterDiscordDiscordBuild forms in React, without the tearsFormik is the world's most popular open source form library for React and React Native.Get StartedGitHubDeclarativeFormik takes care of the repetitive and annoying stuff鈥攌eeping track of values/errors/visited fields, orchestrating validation, and handling submission鈥攕o 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.IntuitiveNo 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!AdoptableSince 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 byLess 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.Form-level ValidationError MessagesWizards and multi-step formsField-level validationArray FieldsAPI ErrorsCustom ValidationInternationalization (i18n)Auto-saving formsDependent ValidationConditional LogicDynamic FieldsReact NativeTree shakeableReady to dive in?Get StartedGitHubResourcesDocsLearnGuidesAPI ReferenceBlogCommunityUser ShowcaseFundingCommunity ChatProject ForumReleasesStarAbout FormiumHomeGitHubTwitterContact SalesSubscribe to our newsletterThe latest Formik news, articles, and resources, sent to your inbox.Notify meCopyright 漏 2020 Formium, Inc. All rights reserved.