Tailwind CSS Plugins Official Plugins @tailwindcss/typography
Beautiful typographic defaults for content you don't control (Markdown, CMS content).
Installation npm install -D @tailwindcss/typography
@import "tailwindcss"; @plugin "@tailwindcss/typography";
Basic Usage
Article Title
This content gets beautiful default styles...
Size Modifiers Class Description prose-sm Smaller text (14px base) prose Default (16px base) prose-lg Larger text (18px base) prose-xl Extra large (20px base) prose-2xl Huge (24px base)
Color Themes
Dark Mode
Element Modifiers
Override specific elements:
Max Width Control
Escaping Prose Styles
Styled heading
Styled paragraph
Back to prose styles
Custom Class Name @plugin "@tailwindcss/typography" { className: wysiwyg; }
@tailwindcss/forms
Resets form elements to a consistent, easily-styleable baseline.
Installation npm install -D @tailwindcss/forms
@import "tailwindcss"; @plugin "@tailwindcss/forms";
Styled Elements
The plugin applies styles to:
input[type='text'] input[type='email'] input[type='password'] input[type='number'] input[type='url'] input[type='date'] input[type='datetime-local'] input[type='month'] input[type='week'] input[type='time'] input[type='search'] input[type='tel'] input[type='checkbox'] input[type='radio'] select select[multiple] textarea Basic Usage
Strategy: Class-Based
For opt-in styling (doesn't apply global resets):
@plugin "@tailwindcss/forms" { strategy: class; }