---
section: Presets
label: Tailwind CSS Forms
package: '@twind/preset-tailwind-forms'
playground: true
excerpt: |
A preset that provides a basic reset for form styles that makes form elements easy to override with utilities.
next: ./preset-typography.md
---
> **Note**
> Based on [@tailwindcss/forms](https://github.com/tailwindlabs/tailwindcss-forms).
## 🤝 Compatibility
| @twind/preset-tailwind-forms | @tailwindcss/forms |
| -------------------------------- | ------------------ |
| `>=1.0.0-next.40 <1.1.0` | `>=0.5 <0.6` |
| `>=1.0.0-next.27 <1.0.0-next.40` | `>=0.4 <0.5` |
## 📦 Installation
**with [@twind/core](./installation#local--bundler)**
Install from npm:
```sh
npm install @twind/core @twind/preset-tailwind @twind/preset-tailwind-forms
```
Add the preset to your twind config:
```js title="twind.config.js"
import { defineConfig } from '@twind/core'
import presetTailwind from '@twind/preset-tailwind'
import presetTailwindForms from '@twind/preset-tailwind-forms'
export default defineConfig({
presets: [presetTailwind(/* options */), presetTailwindForms(/* options */)],
/* config */
})
```
Usage with a script tag
```html
```