Open History to see the last commit
1---
2id: installation
3title: Installation
4---
5β
6TanStack Form is compatible with various front-end frameworks, including React, Vue, and Solid. To use TanStack Form with your desired framework, install the corresponding adapter via your preferred package manager:
7β
8### React Example
9β
10```bash
11# npm
12$ npm i @tanstack/react-form
13# pnpm
14$ pnpm add @tanstack/react-form
15# bun
16$ bun add @tanstack/react-form
17# yarn
18$ yarn add @tanstack/react-form
19```
20β
21### Vue Example
22β
23```bash
24# npm
25$ npm i @tanstack/vue-form
26# pnpm
27$ pnpm add @tanstack/vue-form
28# bun
29$ bun add @tanstack/vue-form
30# yarn
31$ yarn add @tanstack/vue-form
32```
33β
34### Angular Example
35β
36```bash
37# npm
38$ npm i @tanstack/angular-form
39# pnpm
40$ pnpm add @tanstack/angular-form
41# bun
42$ bun add @tanstack/angular-form
43# yarn
44$ yarn add @tanstack/angular-form
45```
46β
47### Solid Example
48β
49```bash
50# npm
51$ npm i @tanstack/solid-form
52# pnpm
53$ pnpm add @tanstack/solid-form
54# bun
55$ bun add @tanstack/solid-form
56# yarn
57$ yarn add @tanstack/solid-form
58```
59β
60### Lit Example
61β
62```bash
63# npm
64$ npm i @tanstack/lit-form
65# pnpm
66$ pnpm add @tanstack/lit-form
67# bun
68$ bun add @tanstack/lit-form
69# yarn
70$ yarn add @tanstack/lit-form
71```
72β
73> 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` yourselves.