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

installation.md

26 lines767 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/solid-form
14```
15​
16> 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.
17​
18In addition, we support Zod, Yup, and Valibot as validators through official validator packages:
19​
20```bash
21$ npm i @tanstack/zod-form-adapter zod
22# or
23$ npm i @tanstack/yup-form-adapter yup
24# or
25$ npm i @tanstack/valibot-form-adapter valibot
26```