@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 |
with @twind/core
Install from npm:
Add the preset to your twind config:
Usage with a script tag
with Twind CDN
All of the basic form elements you use will now have some simple default styles that are easy to override with utilities.
Same as with @tailwindcss/forms › Basic Usage
Same as with @tailwindcss/forms › Using only global styles or only classes