Form Docs
Outdated guides
AI/LLM: This documentation page is available in plain markdown format at/form/alpha/docs/installation.md
Installation
Framework package#
Install the TanStack Form package for your framework:
shell
npm i @tanstack/react-form@alphashell
pnpm add @tanstack/react-form@alphashell
yarn add @tanstack/react-form@alphashell
bun add @tanstack/react-form@alphaSSR#
If you use one of these frameworks, install its integration package alongside @tanstack/react-form.
shell
npm i @tanstack/react-form-start@alphashell
pnpm add @tanstack/react-form-start@alphashell
yarn add @tanstack/react-form-start@alphashell
bun add @tanstack/react-form-start@alphashell
npm i @tanstack/react-form-nextjs@alphashell
pnpm add @tanstack/react-form-nextjs@alphashell
yarn add @tanstack/react-form-nextjs@alphashell
bun add @tanstack/react-form-nextjs@alphaDevtools#
Optionally install the devtools package:
shell
npm i -D @tanstack/react-form-devtools@alphashell
pnpm add -D @tanstack/react-form-devtools@alphashell
yarn add -D @tanstack/react-form-devtools@alphashell
bun add -d @tanstack/react-form-devtools@alpha