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

installation.md

22 lines668 Bytes

1---
2id: installation
3title: Installation
4---
5​
6TanStack Form is compatible with various front-end frameworks, including React and Vue. 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```
13​
14> 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.
15​
16In addition, we support both Zod and Yup as validators through official validator packages:
17​
18```bash
19$ yarn add @tanstack/zod-form-adapter zod
20# or
21$ npm i @tanstack/yup-form-adapter yup
22```