# TanStack Form

> Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit

Source: https://talira.ai/catalog/tanstack-form-4s0n3sq2
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / forms](https://talira.ai/categories/libraries/forms), [frameworks / react](https://talira.ai/categories/frameworks/react), [languages / typescript](https://talira.ai/categories/languages/typescript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^3]
- Backed by: [TanStack](https://talira.ai/orgs/tanstack.md)

TanStack Form is a headless, framework-agnostic form state library with adapters for [React](https://talira.ai/catalog/react-a48drvqv.md), Vue, Angular, Solid, Svelte and Lit: you bring your own inputs, and it tracks values, touched and dirty state, errors and submission, with field names and values typed end to end in [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md). Validation runs per field or for the whole form, on change, blur or submit, with async validators and built-in debouncing, and it accepts any Standard Schema library ([Zod](https://talira.ai/catalog/zod-ptz19tg1.md), Valibot, ArkType, Effect Schema) without an adapter. Array fields, subscriptions to slices of form state and server validation from `onSubmitAsync` are built in, and its docs cover TanStack Start, [Next.js](https://talira.ai/catalog/next-js-2chrxyc7.md) App Router server actions and Remix. It reached 1.0 in March 2025 and is MIT licensed.

## Links

- Website: https://tanstack.com/form
- GitHub: https://github.com/TanStack/form
- Docs: https://tanstack.com/form/latest/docs/overview

## Problems it solves

- use the same form logic in React, Vue, Angular, Solid, Svelte or Lit apps
- a typo in a field name should fail to compile instead of silently doing nothing
- check whether a username is available while the user types, without a request on every keystroke
- validate some fields on blur, others on change, and everything again on submit
- send the whole form to one API endpoint on submit and show the errors it returns next to each field
- plug a Valibot or ArkType schema into my form without an adapter package
- handle a form with Next.js server actions and keep its errors in client state
- keep form state in sync with Remix actions or TanStack Start server functions
- re-render only the submit button when the form's validity changes
- keep my own input components and get form state and validation from a headless library
- edit a list of nested objects in a form with typed paths like people[0].name
- inspect form values and errors in devtools while I build a form

## Features

- adapters for React, Vue, Angular, Solid, Svelte and Lit over a framework-agnostic core
- fully typed field names and values
- field-level and form-level validation on change, blur, submit and more
- async validators with debouncing (asyncDebounceMs, onChangeAsyncDebounceMs)
- native support for Standard Schema libraries: Zod, Valibot, ArkType, Effect Schema
- array fields (mode="array", pushValue and other helpers) and nested subfields
- Subscribe component and selectors to re-render on slices of form state
- server validation from the form's onSubmitAsync, mapped to fields
- guides for TanStack Start, Next.js App Router and Remix
- devtools plugin for TanStack Devtools

## Limitations

- Doesn't support TypeScript versions before 5.4: its types need TypeScript 5.4 or later with strict mode[^1]

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by TanStack

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [React](https://talira.ai/catalog/react-a48drvqv.md)
- Works with [Zod](https://talira.ai/catalog/zod-ptz19tg1.md)

## Alternatives

- [React Hook Form](https://talira.ai/catalog/react-hook-form-pdfnnrk2.md): Performant, flexible and extensible forms with easy-to-use validation

## Sources

[^1]: https://tanstack.com/form/latest/docs/typescript (checked 20 Nov 2026)
[^2]: https://github.com/TanStack/form/blob/main/LICENSE (checked 20 Nov 2026)
[^3]: https://github.com/TanStack/form (checked 20 Nov 2026)
