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

installation.md

64 lines1.8 KB

1---
2id: installation
3title: Installation
4---
5​
6TanStack 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:
7​
8<!-- ::start:tabs variant="package-managers" -->
9​
10react: @tanstack/react-form@alpha
11angular: @tanstack/angular-form@alpha
12preact: @tanstack/preact-form@alpha
13vue: @tanstack/vue-form@alpha
14solid: @tanstack/solid-form@alpha
15svelte: @tanstack/svelte-form@alpha
16lit: @tanstack/lit-form@alpha
17​
18<!-- ::end:tabs -->
19​
20<!-- ::start:framework -->
21​
22# React
23​
24## Meta-frameworks
25​
26If you're using a meta-framework, TanStack Form provides additional adapters to streamline integration:
27​
28- TanStack Start
29- Next.js
30​
31<!-- ::end:framework -->
32​
33<!-- ::start:tabs variant="package-manager" -->
34​
35react: @tanstack/react-form-start@alpha
36react: @tanstack/react-form-nextjs@alpha
37​
38<!-- ::end:tabs -->
39​
40<!-- ::start:framework -->
41​
42# React
43​
44## Devtools
45​
46Developer tools are available using [TanStack Devtools](https://tanstack.com/devtools/latest). Install the devtools adapter for your framework as a dev dependency to debug forms and inspect their state.
47​
48# Solid
49​
50## Devtools
51​
52Developer tools are available using [TanStack Devtools](https://tanstack.com/devtools/latest). Install the devtools adapter for your framework as a dev dependency to debug forms and inspect their state.
53​
54<!-- ::end:framework -->
55​
56<!-- ::start:tabs variant="package-manager" -->
57​
58react: @tanstack/react-devtools@alpha
59react: @tanstack/react-form-devtools@alpha
60​
61<!-- ::end:tabs -->
62​
63> [!NOTE]- Polyfill requirements
64> 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.