Open History to see the last commit
1---
2id: devtools
3title: Devtools
4---
5β
6TanStack Form integrates with the TanStack Devtools shell through a form plugin.
7β
8## Install
9β
10```bash
11npm install @tanstack/react-devtools @tanstack/react-form-devtools
12```
13β
14## Add the plugin
15β
16Render one `TanStackDevtools` instance near the root of the application and pass
17it `formDevtoolsPlugin()`.
18β
19```tsx
20import { StrictMode } from 'react'
21import { createRoot } from 'react-dom/client'
22import { TanStackDevtools } from '@tanstack/react-devtools'
23import { formDevtoolsPlugin } from '@tanstack/react-form-devtools'
24β
25import { App } from './App'
26β
27createRoot(document.getElementById('root')!).render(
28 <StrictMode>
29 <App />
30 <TanStackDevtools plugins={[formDevtoolsPlugin()]} />
31 </StrictMode>,
32)
33```
34β
35The plugin discovers mounted forms through the adapter's devtools bridge. Use
36it to inspect current values, validation state, field metadata, and registered
37fields while developing.
38β
39The shell also accepts configuration such as `hideUntilHover`:
40β
41```tsx
42<TanStackDevtools
43 plugins={[formDevtoolsPlugin()]}
44 config={{ hideUntilHover: false }}
45/>
46```
47β
48See the [TanStack Devtools documentation](https://tanstack.com/devtools) for
49shell placement and configuration.