React Hook Form
A strong pick. 1st of 10 form libraries.
React Hook Form is the most widely used React form library. It keeps form values out of React state for speed and checks them through schema resolvers such as Zod. For a new React project today it is still the safest default, though TanStack Form now gives stronger types for complex forms.
Best for: React and React Native teams that want a fast, well-known, zero-dependency form library that works with shadcn/ui and Zod.
Scores
Overall8.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
For React, it is the default pick. It is fast, small and very actively maintained, and more projects use and validate it than any other form library. It falls short of a clear 9 because it serves React only, TanStack Form gives better types and is growing fast, its React Compiler support is partial, and v8 breaking changes are pending. It ranks above Formik, which is stalled, and level with or just ahead of TanStack Form for most teams.
- npm downloads and dependents: Dominant use, still growing a little faster than the median
- peers Formik commitsLastYear: Formik had 0 commits, which leaves RHF as the mature React default
- blog.logrocket.com/tanstack-form-vs-react-hook-form: TanStack Form is the main alternative for complex typed forms
- react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library: Partial React Compiler compatibility
GPT-6.2 Sol: 9.0, likely 7.7 to 9.7
React Hook Form is the default for a new React project that needs a dedicated form library. Its core covers common forms with little setup, and active releases and adoption in projects such as React-admin support that choice. TanStack Form can suit deeply composed multi-step forms that need tighter TypeScript integration or separate validation timing for each field. Those differences and the concentration of npm release ownership keep the range wider.
- github.com/react-hook-form/react-hook-form/releases/tag/v7.92.0: Current stable release improves validation, type handling, and form state.
- marmelab.com/react-admin/Forms.html: Established framework builds its form components on React Hook Form.
- reddit.com/r/reactjs/comments/1rl1ozl/what_is_the_state_of_form_libraries_in_2026: A team reports switching to TanStack Form for multi-step typing.
- formisch.dev/blog/react-form-library-comparison: Hands-on comparison shows how TanStack configures validation per field and event.
- npmjs.com/package/react-hook-form?activeTab=dependencies: The npm package lists one collaborator.
- peers Formik and TanStack Form commitsLastYear, github releasesLastYear: React Hook Form ships frequently, Formik has no recent commits, and TanStack is active.
Needed by many6.6
How many developers need a tool for this job?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
Most web apps have forms, and React is the largest UI framework, so a large group needs this tool. It serves only React and React Native, which makes it narrower than the category, since several peers serve Vue or Svelte.
- github description: React hooks for web and React Native only
- certificates.dev/blog/breaking-down-state-of-react-2025-results: 74% of React survey respondents use it
GPT-6.2 Sol: 6.7, likely 5.5 to 7.8
Interactive forms are common in web and mobile apps, and React gives the library a large audience. Its hooks serve React and React Native, so developers using other frameworks need a different tool. Native forms and React form actions cover some simpler workflows, and the surveys leave the share of projects needing a dedicated library uncertain.
- github description: Targets React on the web and React Native.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: React leads front-end framework usage among respondents.
- 2025.stateofreact.com/en-US/libraries/component-libraries/#form_libraries: 355 of 2,643 form-library respondents selected none.
- react.dev/reference/react-dom/components/form: React form actions handle submission and work with native form behavior.
Helps a lot8.4
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
It is fast, small, has no dependencies, is well documented, and AI agents write correct code for it. Its limits are known: watch() breaks under the React Compiler, the types and the schema are declared apart, and inference weakens with deep field arrays. TanStack Form does type safety better for complex forms.
- formisch.dev/blog/react-form-library-comparison: Praises the ref-based speed; says types and schema can drift and paths fall back to any
- react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library: React docs list RHF watch() as incompatible with the React Compiler
- blog.logrocket.com/tanstack-form-vs-react-hook-form: Independent comparison of RHF and TanStack Form
- npm dependencies: 0 runtime dependencies, types included
- bluesky top posts: Users report design limits, such as the password-confirmation case
GPT-6.2 Sol: 8.7, likely 7.6 to 9.6
Stable v7.92.0 pairs typed field names with built-in validation, schema resolvers, and subscriptions that limit re-renders. Worked examples give developers and coding agents a clear starting point for common forms. Users report surprises with form state and nested arrays, and a hands-on comparison shows why TanStack Form can be easier when fields need different validation schedules. Rendering costs and implementation effort vary with the controls and subscriptions a form uses.
- github.com/react-hook-form/react-hook-form/releases/tag/v7.92.0: Stable release fixes async validation, array errors, and type regressions.
- react-hook-form.com/docs/useformstate: Documents scoped subscriptions and when to read form state.
- ui.shadcn.com/docs/forms/react-hook-form: Worked examples cover controlled inputs, Zod, and accessible errors.
- reddit.com/r/reactjs/comments/1ryw64t/react_hook_form_docs_are_a_mess_am_i_missing: Users report surprises with state subscriptions and field arrays.
- formisch.dev/blog/react-form-library-comparison: A competing library's maintainers compare validation timing and rendering.
Holds up over time8.3
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The project is very active, with 521 commits and 36 releases in the last year, and only 3 open issues out of more than 5,000. The risks are that the work rests mostly on one lead maintainer funded by sponsorships, and that v8 has been in beta for a long time with breaking changes to come. TanStack Form is gaining ground in new projects.
- github commitsLastYear / releasesLastYear: 521 commits and 36 releases in the last year
- github openIssues: 3 open issues, 5,048 closed
- newreleases.io/project/npm/react-hook-form/release/8.0.0-beta.1: v8 beta changes register and setValue on field arrays
- theregister.com/2026/02/17/react_survey_shows_tanstack_gains: TanStack is gaining across the React ecosystem
- maintainer model: Led by Bill Luo with a small core team, funded by sponsors
GPT-6.2 Sol: 8.5, likely 7.2 to 9.4
The repository recorded 521 commits and 36 GitHub releases in the past year, with sponsors and several contributors to the latest release. A November field-array fix was merged the day it was proposed and shipped ten days later. npm lists one collaborator, and the v8 beta migration guide calls for changes to field-array keys and watch callbacks. Release ownership and the cost of that upgrade widen the two-year range.
- github commitsLastYear, releasesLastYear, contributors, openIssues, openPullRequests: 521 commits, 36 releases, 476 contributors, and small open queues.
- github.com/react-hook-form/react-hook-form: Lists Pennylane and other current sponsors.
- github.com/react-hook-form/react-hook-form/pull/13975: Field-array error fix was proposed and merged November 1.
- github.com/react-hook-form/react-hook-form/releases/tag/v7.92.0: November 11 release shipped the fix and credited several contributors.
- npmjs.com/package/react-hook-form?activeTab=dependencies: Lists one npm collaborator.
- react-hook-form.com/migrate-v7-to-v8: Documents breaking changes for the upcoming major version.
Used widely9.0
How many use it, and is that growing?
Claude Opus 5.5: 9.5, likely 9.0 to 10.0
It has about 252M downloads in 4 weeks, ten times Formik and TanStack Form, and 92.7k dependent repositories. Its ratio of 4.5 is a little above the median of 4.1, so it still gains slightly. TanStack Form is growing much faster, from a far smaller base. shadcn/ui installs inflate the downloads somewhat, but survey use of 74% confirms that many projects choose it directly.
- npm downloadsLast4Weeks: 252M now vs 55.9M a year ago, a ratio of 4.5 against the 4.1 median
- dependents: 92,746 repos and 3,937 packages, close to Formik's legacy base
- peers TanStack Form downloads: 26.8M, up 12.9x, the fastest-growing rival
- certificates.dev/blog/breaking-down-state-of-react-2025-results: 74% usage vs 21% for TanStack Form
GPT-6.2 Sol: 8.5, likely 7.2 to 9.4
ecosyste.ms found 92,746 dependent repositories and 3,937 packages, with Formik still ahead in the repository sample. Four-week npm downloads rose to 252 million, or 4.51 times the prior year, modestly above the catalog median of 4.1. TanStack Form's React package grew faster at 12.85 times and drew more Bluesky links. Automated installs, indirect dependencies, and incomplete repository coverage leave the number of direct choices uncertain.
- dependents repos and packages: 92,746 indexed repositories and 3,937 indexed packages.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 252.1 million versus 55.9 million, or 4.51 times against a 4.1 median.
- peers Formik dependentRepos and TanStack Form downloads: Formik has 106,319 indexed repositories and TanStack's React package grew 12.85 times.
- github stars, bluesky posts, peers TanStack Form blueskyPosts: About 45,000 stars and six Bluesky links versus TanStack Form's nineteen.
- 2025.stateofreact.com/en-US/libraries/component-libraries/#form_libraries: Led reported use with 1,964 of 2,643 respondents.
Vouched for8.3
Who stands behind it being good?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It leads the State of React survey by a wide margin, and independent 2026 comparisons call it the default for new selections. shadcn/ui and many UI kits build their forms on it. No satisfaction figure was found, and some write-ups now point to TanStack Form for complex typed forms.
- certificates.dev/blog/breaking-down-state-of-react-2025-results: State of React 2025: top form library by usage
- pkgpulse.com/guides/best-react-form-libraries-2026: Independent 2026 guide recommends RHF as the default
- formisch.dev/blog/react-form-library-comparison: Mature, with years of production use; limits noted
- shadcn/ui Form component: A popular UI kit builds its forms on RHF
GPT-6.2 Sol: 8.6, likely 7.4 to 9.5
React-admin builds its form components on React Hook Form, Grafana lists it as a direct dependency in its 13.2.0 release, and shadcn/ui publishes a full integration guide. The State of React survey confirms broad hands-on use. The survey measures past use, and the available comparisons give limited evidence about retention and performance on large production forms.
- marmelab.com/react-admin/Forms.html: React-admin uses React Hook Form internally across its form components.
- raw.githubusercontent.com/grafana/grafana/v13.2.0/package.json: Grafana declares React Hook Form as a direct dependency.
- ui.shadcn.com/docs/forms/react-hook-form: Independent UI project documents a full integration.
- 2025.stateofreact.com/en-US/libraries/component-libraries/#form_libraries: Measures which form libraries respondents have used.
Safe7.7
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It has no runtime dependencies and an MIT licence, and no real vulnerability is on record. The one malware advisory, MAL-2026-2853 for 7.73.0, was a false positive: JFrog and the maintainer confirmed this, and GitHub withdrew it in June 2026. Some scanners may still flag that version. The Scorecard is a middling 6.2, with weak token permissions, unpinned dependencies and no signed releases.
- advisories MAL-2026-2853: Flagged 7.73.0 as malicious in April 2026
- github.com/advisories/GHSA-w8j3-qvc3-h56f: Advisory withdrawn on 2026-06-02 as a false positive
- x.com/JFrogSecurity/status/2045760567281889331: JFrog found no malicious code in 7.73.0
- scorecard: 6.2 overall; Token-Permissions and Pinned-Dependencies score 0
- npm dependencies: Zero runtime dependencies
GPT-6.2 Sol: 7.3, likely 5.9 to 8.6
The MIT-licensed core adds no runtime dependencies beyond its React peer, and the package defines lint, type, test, and build checks before publishing. GitHub withdrew its advisory for 7.73.0 as a false positive, and the maintainer reported publishing a replacement patch within days. OSV still lists 7.73.0, which leaves conflicting records for that release. npm lists one collaborator, and the 6.2 OpenSSF Scorecard gives zeroes for workflow token permissions and dependency pinning.
- npm license and dependencies: MIT license and zero direct runtime dependencies.
- scorecard score and checks: 6.2 overall, with strong static analysis and weak workflow controls.
- github.com/react-hook-form/react-hook-form/blob/v7.92.0/package.json: Defines prepublish checks and declares React as a peer.
- npmjs.com/package/react-hook-form?activeTab=dependencies: One listed npm collaborator for the package.
- github.com/advisories/GHSA-w8j3-qvc3-h56f: GitHub withdrew the advisory on June 2 as a false positive.
- osv.dev/vulnerability/MAL-2026-2853: OSV retains the advisory for 7.73.0.
- github.com/react-hook-form/react-hook-form/issues/13390: Maintainer reported the npm resolution and replacement patch on April 20.
Good
- Uncontrolled inputs mean typing does not re-render the whole form, so large forms stay fast.
- It has no runtime dependencies, a small bundle and built-in TypeScript types.
- The ecosystem is huge: @hookform/resolvers for Zod, Valibot and Yup, the shadcn/ui form components, and many examples AI agents already know.
- It is actively maintained, with about 36 releases a year and only 3 open issues.
Bad
- It serves React only, so Vue, Svelte and Solid projects need a peer.
- Calling watch() during render breaks under the React Compiler; the fix is useWatch.
- The TypeScript generic and the schema are declared apart, and type inference weakens with deep nesting and field arrays.
- v8 has sat in beta for a long time and will bring breaking changes to register, watch and field arrays.
The numbers
- npm downloads, 4 weeks
- 252M ×4.5 in a year
- GitHub stars
- 45k
- Commits, 12 months
- 521
- npm version
- 7.92.0 Nov 2026
- Versions, 12 months
- 30
- Advisories, 24 months
- 1 of 1 ever
- OpenSSF Scorecard
- 6.2 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (react-hook-form/react-hook-form), npm (react-hook-form), OSV and the OpenSSF Scorecard.
Form libraries
- 8.8React Hook Form
- 7.7TanStack Form
- 7.4Superforms
- 7.2Conform
- 6.8FormKit
- 6.7react-jsonschema-form
- 5.5VeeValidate
- 4.8React Final Form
- 3.9Formik
- 3.5Felte