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

installation.md

30 lines841 Bytes

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 NPM:
7​
8```bash
9$ npm i @tanstack/react-form
10# or
11$ pnpm add @tanstack/vue-form
12# or
13$ yarn add @tanstack/angular-form
14# or
15$ yarn add @tanstack/solid-form
16# or
17$ pnpm add @tanstack/lit-form
18```
19​
20> 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.
21​
22In addition, we support Zod, Yup, and Valibot as validators through official validator packages:
23​
24```bash
25$ npm i @tanstack/zod-form-adapter zod
26# or
27$ npm i @tanstack/yup-form-adapter yup
28# or
29$ npm i @tanstack/valibot-form-adapter valibot
30```