Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

installation.md

64 lines1.8 KB

TanStack Form is compatible with various front-end frameworks, including React, Vue, Angular, Solid, Lit, and Svelte. Install the corresponding adapter for your framework using your preferred package manager:

react: @tanstack/react-form@alpha angular: @tanstack/angular-form@alpha preact: @tanstack/preact-form@alpha vue: @tanstack/vue-form@alpha solid: @tanstack/solid-form@alpha svelte: @tanstack/svelte-form@alpha lit: @tanstack/lit-form@alpha

React

Meta-frameworks

If you're using a meta-framework, TanStack Form provides additional adapters to streamline integration:

  • TanStack Start
  • Next.js

react: @tanstack/react-form-start@alpha react: @tanstack/react-form-nextjs@alpha

React

Devtools

Developer tools are available using TanStack Devtools. Install the devtools adapter for your framework as a dev dependency to debug forms and inspect their state.

Solid

Devtools

Developer tools are available using TanStack Devtools. Install the devtools adapter for your framework as a dev dependency to debug forms and inspect their state.

react: @tanstack/react-devtools@alpha react: @tanstack/react-form-devtools@alpha

[!NOTE]- Polyfill requirements Depending on your environment, you might need to add polyfills. If you want to support older browsers, you need to transpile the library from node_modules yourself.