Elestia Open Source Ratings
7.7

TanStack Form

A strong pick. 2nd of 10 form libraries.

TanStack Form is a headless, type-safe form state library with adapters for React, Vue, Angular, Solid, Lit and Preact. It is a strong choice for complex, TypeScript-heavy forms and is growing fast. It is more verbose than React Hook Form, and v2, now in alpha with breaking changes, means v1 users will have to migrate.

Best for: TypeScript teams building complex or dynamic forms who want deep type inference, or one form library across several UI frameworks.

WebsiteGitHubnpm

Scores

Overall7.7

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It is the strongest pick for type-safe, complex or multi-framework forms, with active maintenance and the fastest growth in its category. React Hook Form is still the simpler, more proven default for most React apps. The coming v2 migration and the verbosity of v1 keep this from scoring higher.

GPT-6.2 Sol: 7.8, likely 6.6 to 8.8

TanStack Form is a strong new-project choice when precise field types, flexible validation, and control over the UI matter. React Hook Form is the stronger default for most React teams because routine forms take less setup and the ecosystem is larger. Fast adoption and ongoing development support the recommendation, while the stable release gap and v2 migration keep it below the category's top tier.

Needed by many7.6

How many developers need a tool for this job?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Most web apps have forms, and this library works with every major UI framework, not just React. It aims at the general form job rather than a niche. It falls short of 9 because many simple forms need no library at all.

GPT-6.2 Sol: 7.1, likely 6.0 to 8.2

Form state and validation are common needs in web apps, and the shared core covers several major frameworks. Its headless API is most useful when teams need custom inputs or validation, since simple forms can use browser and framework features. The React survey gives a clearer picture of that audience than of JavaScript developers as a whole.

Helps a lot7.8

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Type safety, per-validator timing, async validation and fine-grained re-rendering are best in class. Users report a lot of boilerplate, friction with fields that depend on each other, and in v1 a gap between the schema and the defaultValues types. v2 fixes some of these but is not stable yet.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.0

Stable 1.33.5 gives teams typed nested fields, subscriptions to specific state, and detailed control over validation timing and errors. The React guides give coding agents concrete patterns, although reusable sections and defaults that differ from the validation schema still take care. A reported duplicate-submit regression and limited performance measurements keep the range open.

Holds up over time7.2

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.5

Development is active: 232 commits and many releases in the past year, 225 contributors, several core maintainers, and TanStack's corporate sponsors. The stable v1 line has not shipped since August 2026 while work moves to v2. The v2 alpha replaces the validator and SSR APIs, so another round of breaking changes is coming. Users already saw breaking changes during the v1 release-candidate phase.

  • github commitsLastYear: 232 commits; pushed on the read date
  • npm latestPublishedAt: Last stable release 2026-08-11
  • tanstack.com/blog/announcing-tanstack-form-v2-alpha: v2 alpha from Aug 2026 reworks validators and SSR; no stable date given
  • bluesky top posts: A maintainer apologised for breaking changes during the RC phase

GPT-6.2 Sol: 7.4, likely 6.1 to 8.6

The repository logged 232 commits in the past year, lists several maintainers and contributors, and can draw on TanStack's sponsorship program. The React package published 30 versions over the year, with its latest stable release in August. Work on the v2 alpha and an open v1 regression fix show continued activity, while the rewrite makes future upgrade effort and the pace of v1 fixes harder to predict.

Used widely6.7

How many use it, and is that growing?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

React downloads grew from 2.1M to 26.8M per 4 weeks, a ratio near 12.9 against a 4.1 median, so it is clearly gaining ground. That is still about a tenth of React Hook Form's downloads, and part of the jump likely comes from shadcn/ui docs and TanStack templates. The ecosyste.ms dependent count of 1 looks like a gap in coverage for this scoped package, not real usage.

  • npm downloadsLast4Weeks: 26.8M now vs 2.09M a year ago
  • peers React Hook Form downloadsLast4Weeks: 252M, about 9x larger
  • github stars: 6.8k stars, far below RHF's 45k and Formik's 34k
  • bluesky posts: 19 posts, the most in its category

GPT-6.2 Sol: 6.8, likely 5.2 to 8.2

React adapter downloads rose 12.9-fold to 26.8 million in four weeks, well above the 4.1-fold catalog baseline and React Hook Form's 4.5-fold rise. React Hook Form still leads by a wide margin in downloads and surveyed usage, while TanStack Form draws more Bluesky links among these peers. Repeated and indirect installs, sparse dependent indexing, and attention shared across adapters leave the number of projects choosing it uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo and medianDownloadsRatio: 26.8 million versus 2.1 million React adapter installs, against a 4.1-fold baseline.
  • peers React Hook Form and Formik: React Hook Form has about 9.4 times the installs, and Formik trails slightly.
  • dependents, github stars and bluesky posts: One indexed dependent repository, 6,772 shared stars, and 19 repository links on Bluesky.
  • 2025.stateofreact.com/en-US/libraries/component-libraries/#form_libraries: 567 of 2,643 respondents used TanStack Form, versus 1,964 for React Hook Form.
  • humanloads.dev/@tanstack/react-form: Growth persists after removing crawler traffic and publish spikes.
Vouched for6.9

Who stands behind it being good?

Claude Opus 5.5: 6.5, likely 5.0 to 7.5

shadcn/ui documents it as a first-class form integration, and independent outlets such as LogRocket, freeCodeCamp and InfoQ cover it favourably. I found no survey satisfaction data and few named production users. User reports on Reddit are mixed.

GPT-6.2 Sol: 7.3, likely 6.1 to 8.4

Sentry built its newer form system on TanStack Form, Akka lists it in the Console bill of materials, and shadcn/ui publishes a dedicated integration guide. These are concrete endorsements, though the Akka record is older and the survey measures usage. User reports are mixed, and the available benchmark covers one synthetic workload.

Safe7.3

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.0 to 8.0

There are no advisories, it has only 2 dependencies, and it is MIT licensed. In May 2026 a GitHub Actions cache-poisoning attack let attackers publish malicious versions of 42 TanStack Router and Start packages. Form packages do not appear in the lists I checked, but they share the organisation's release setup. No Scorecard data was available.

GPT-6.2 Sol: 8.1, likely 6.9 to 9.2

The React adapter has a permissive MIT license, two direct dependencies, and zero OSV advisories in the snapshot. The release workflow runs tests, pins GitHub Actions, and uses OpenID Connect, with three maintainers listed for the npm package. TanStack's May 2026 supply-chain incident was confined to Router and Start and prompted organization-wide hardening. The missing Scorecard and limited visibility into release permissions widen the range.

Good

  • Deep type inference for field names and values, so typos and type mistakes show up at compile time.
  • One headless core with official adapters for React, Vue, Angular, Solid, Lit and Preact.
  • Validation timing is set per validator (on change, blur, submit, mount), with built-in async debounce and Standard Schema support for Zod, Valibot and others.
  • Fine-grained subscriptions re-render only the fields that changed, and shadcn/ui documents it as a first-class form option.

Bad

  • Simple forms take more boilerplate and setup than React Hook Form.
  • In v1, types come from defaultValues rather than the schema, so the two can drift apart, and some validator mix-ups fail silently.
  • v2 is in alpha and changes the validator API and SSR handling, so new v1 code will need to migrate.
  • It shares a CI and publishing setup with other TanStack packages, which were hit by a supply-chain attack in May 2026.

The numbers

npm downloads, 4 weeks
27M ×13 in a year
GitHub stars
6.8k
Commits, 12 months
232
npm version
1.33.5 Aug 2026
Versions, 12 months
30
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

The downloads are of the React package only.

Read on 21 November 2026 from GitHub (TanStack/form), npm (@tanstack/react-form), OSV and the OpenSSF Scorecard.

Form libraries

  1. 8.8React Hook Form
  2. 7.7TanStack Form
  3. 7.4Superforms
  4. 7.2Conform
  5. 6.8FormKit
  6. 6.7react-jsonschema-form
  7. 5.5VeeValidate
  8. 4.8React Final Form
  9. 3.9Formik
  10. 3.5Felte
Compare all 10 on six scores