Package Exports
- @tailwindcss/forms
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tailwindcss/forms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@tailwindcss/forms
A plugin that provides basic default form styles that are easy to override with utilities. Hopefully the successor to @tailwindcss/custom-forms
.
Installation
Install the plugin from npm:
# Using npm
npm install @tailwindcss/forms
# Using Yarn
yarn add @tailwindcss/forms
Then add the plugin to your tailwind.config.js
file:
// tailwind.config.js
module.exports = {
theme: {
// ...
},
plugins: [
require('@tailwindcss/forms'),
// ...
],
}
Usage
All of the basic form elements you use will now have some sensible default styles that are easy to override with utilities. Works basically like the @tailwindcss/custom-forms
plugin in terms of how you modify things using utility classes. More details eventually.