🌐
npm
npmjs.com › package › eslint-plugin-tailwindcss
eslint-plugin-tailwindcss - npm
July 16, 2025 - import js from "@eslint/js"; import ts from "typescript-eslint"; import tailwind from "eslint-plugin-tailwindcss"; export default [ // add eslint built-in js.configs.recommended, // add `typescript-eslint` flat config simply // if you would like use more another configuration, // see the section: https://typescript-eslint.io/getting-started#details ...ts.configs.recommended, ...tailwind.configs["flat/recommended"], ];
      » npm install eslint-plugin-tailwindcss
    
Published   Jul 16, 2025
Version   3.18.2
Author   François Massart
🌐
GitHub
github.com › tailwindlabs › prettier-plugin-tailwindcss
GitHub - tailwindlabs/prettier-plugin-tailwindcss: A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order. · GitHub
A Prettier v3+ plugin for Tailwind CSS v3.0+ that automatically sorts classes based on our recommended class order. To get started, install prettier-plugin-tailwindcss as a dev-dependency:
Starred by 7.1K users
Forked by 176 users
Languages   TypeScript 97.6% | JavaScript 2.4%
Discussions

Top Tailwind plugins and frameworks
Awesome resource. Thank you 🙏🏼 More on reddit.com
🌐 r/tailwindcss
11
26
September 23, 2023
What are the top Tailwind CSS plugins everyone is using ? ( 2025 version )
I built https://github.com/versoly/taos to replace AOS using Tailwind instead. Also used the native forms library. More on reddit.com
🌐 r/tailwindcss
18
31
February 5, 2025
[v4] How to add plugins?
Should be “@tailwindcss/forms” 👍🏻 don’t forget the “@“ sign! ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... My bad, I've missed the note saying it isn't available yet in v4 in the roadmap section. I hope this gets added soon! Plugins ... More on github.com
🌐 github.com
13
10
August 27, 2024
tailwind css - How to configure @tailwindcss/typography plugin from TailwindCSS v4 - Stack Overflow
I am using Next.js 15. I want to render markdown and use prose from TailwindCSS Typography plugin. I have installed the plugin but it tells me to configure tailwind.config.ts which is missing from ... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Tailwind CSS
v3.tailwindcss.com › docs › plugins
Plugins - Tailwind CSS
The @tailwindcss/aspect-ratio plugin is an alternative to native aspect-ratio support that works in older browsers, and adds aspect-w-* and aspect-h-* classes that can be combined to give an element a fixed aspect ratio.
🌐
Telerik
telerik.com › blogs › top-15-tailwind-css-plugins-resources
My Favorite 15 Tailwind CSS Plugins and Resources
August 31, 2020 - 2️⃣ Going one step further, this last plugin (which is using the first one) will give you a few more classes that you can add to your embed elements to make them responsive. ... Whether you are trying to generate some utility classes for your gradients or to implement beautiful border gradients, these two packages will solve both problems. 🤗 They are regularly updated, so I recommend you use them if you want to make fancy colorful interfaces.
🌐
DaisyUI
daisyui.com › blog › 9-best-tailwind-css-plugins-for-developers
9 essential Tailwind CSS plugins for developers — daisyUI Tailwind CSS Component UI Library
tailwindcss/typography is the official Tailwind CSS plugin that adds default styles for all your text content. Typography plugin is made by the Tailwind CSS team and it's a must-have plugin for any Tailwind CSS project especially if you are ...
🌐
GitHub
github.com › francoismassart › eslint-plugin-tailwindcss
GitHub - francoismassart/eslint-plugin-tailwindcss: ESLint plugin for Tailwind CSS usage · GitHub
import js from "@eslint/js"; import ts from "typescript-eslint"; import tailwind from "eslint-plugin-tailwindcss"; export default [ // add eslint built-in js.configs.recommended, // add `typescript-eslint` flat config simply // if you would like use more another configuration, // see the section: https://typescript-eslint.io/getting-started#details ...ts.configs.recommended, ...tailwind.configs["flat/recommended"], ];
Starred by 2.1K users
Forked by 110 users
Languages   JavaScript
🌐
Sailboatui
sailboatui.com › tools
Best Tailwind CSS | Sailboat UI
Preview and copy all TailwindCSS ... · A plugin that provides a basic reset for form styles that makes form elements easy to override with utilities · A plugin that provides utilities for visually truncating text after a fixed number of lines · A Tailwind CSS plugin for creating beautiful animations · A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order ...
🌐
Reddit
reddit.com › r/tailwindcss › top tailwind plugins and frameworks
r/tailwindcss on Reddit: Top Tailwind plugins and frameworks
September 23, 2023 -

Lately, I've been captivated by the incredible efficiency of using Tailwind CSS. While exploring its capabilities, I've had the chance to experiment with various plugins and extensions.

I've compiled a curated list of some fantastic ones, and I'm eager to share them with you. If you've got any more hidden gems you'd like to recommend, please feel free to share your insights

Find elsewhere
🌐
NiraUI
niraui.onrender.com › blog › tailwind css plugins for developers
9 Best Tailwind CSS Plugins You Should Know in 2025 (Animations, RTL, Typography & More) — Tailwind CSS Components
October 18, 2025 - This guide rounds up the 9 best Tailwind CSS plugins in 2025, including official Tailwind add-ons like @tailwindcss/forms and @tailwindcss/typography, plus community favorites such as tailwindcss-animate ,tailwindcss-flip and more.
🌐
GitHub
github.com › tailwindlabs › tailwindcss › discussions › 13292
[v4] How to add plugins? · tailwindlabs/tailwindcss · Discussion #13292
August 27, 2024 - Is it still in tailwind.config.js or with v4, that's going away and the plugins are getting added in the .css file. Beta Was this translation helpful? Give feedback. ... There was an error while loading. Please reload this page. Something went wrong. There was an error while loading. Please reload this page. ... Everything resides in the app.css file. ... @import 'tailwindcss'; @plugin '@tailwindcss/forms'; (given you installed the plugin via npm) @theme { --color-primary-500: #f8fafc; }
Author   tailwindlabs
🌐
ThemeSelection
themeselection.com › home › blog › collections › devtools collections › must-have tailwind plugins list 2025
Must-Have Tailwind Plugins List 2025 - ThemeSelection
June 18, 2025 - Also, check the JavaScript Table Plugins as well. The @tailwindcss/typography plugin adds a set of prose classes that can be used to quickly add sensible typographic styles to content blocks that come from sources like markdown or a CMS database.
🌐
LogRocket
blog.logrocket.com › home › the 7 best plugins to use in your tailwind project
The 7 best plugins to use in your Tailwind project - LogRocket Blog
June 4, 2024 - Discover seven plugins that can elevate your Tailwind project, including tailwindcss-container-queries and Tailwind-heropatterns.
🌐
Tailwind CSS
tailwindcss.com › docs › editor-setup
Editor setup - Getting started - Tailwind CSS
We maintain an official Prettier plugin for Tailwind CSS that automatically sorts your classes following our recommended class order.
🌐
npm
npmjs.com › package › prettier-plugin-tailwindcss
prettier-plugin-tailwindcss - npm
December 1, 2025 - A Prettier v3+ plugin for Tailwind CSS v3.0+ that automatically sorts classes based on our recommended class order. To get started, install prettier-plugin-tailwindcss as a dev-dependency:
      » npm install prettier-plugin-tailwindcss
    
🌐
Infinum
infinum.com › handbook › frontend › react › tailwind › best-practices
Frontend Handbook | React / Tailwind / Best practices
June 25, 2025 - plugins: ['tailwindcss'] extends: ['plugin:tailwindcss/recommended'] rules: { 'tailwindcss/classnames-order': 'error', 'tailwindcss/enforces-shorthand': 'warn' }
Top answer
1 of 2
12

In tailwind 4 you only need to do the following. Install the plugin

npm install -D @tailwindcss/typography

enable it in global.css (assuming you are using default next configuration withapp router):

@import "tailwindcss";
@plugin '@tailwindcss/typography';

Github issue dicussing this

2 of 2
4

Update (configure without tailwind.config.js)

I just based it on an answer written by someone else. I quickly put together a v4 reproduction in the Play environment without a config file by new @utility directive:

  • Tailwind Play Reproduction
@import "tailwindcss";
@plugin "@tailwindcss/typography";

@utility prose-pink {
  @apply prose;
  & > * {
    --tw-prose-body: var(--color-pink-800);
    --tw-prose-headings: var(--color-pink-900);
  }
}

With this, I produce exactly the same result that the documentation recommends using a config file for:

  • Adding custom color theme for Typography

Plugin

Starting from TailwindCSS v4, a CSS-first configuration approach is preferred. Therefore, all plugins should be integrated with TailwindCSS using the @plugin directive. Following the Typography documentation:

  • New CSS-first configuration option in v4 - StackOverflow
  • @plugin directive - TailwindCSS v4 Docs
  • Typography Installation - GitHub Readme
npm install -D @tailwindcss/typography
@import "tailwindcss";
@plugin "@tailwindcss/typography";

Configuration

In CSS-first mode, you have the option to change the default prose class name when declaring the plugin:

@import "tailwindcss";
@plugin "@tailwindcss/typography" {
  className: wysiwyg; /* changed from prose to wysiwyg */
}

In TailwindCSS v3, however, the legacy JavaScript-based configuration (tailwind.config.js) allowed for custom configuration as well.

You can still do this using the @config directive.

  • @config directive - TailwindCSS v4 Docs
  • Adding custom color themes to Typography - GitHub Readme
  • Customizing the CSS to Typography - GitHub Readme
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@config "./relative/path/to/tailwind.config.js";
/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    extend: {
      typography: () => ({
        // ...
      }),
    },
  },
}

Contrary to the documentation, by completely omitting the JavaScript-based configuration, you still have the option to customize the prose utility like this:

  • Typography upgrade to TailwindCSS v4 - @ErwannRousseau's code snippet - GitHub
@import "tailwindcss";
@plugin "@tailwindcss/typography";

@utility prose {
  --tw-prose-body: var(--color-primary);
  --tw-prose-headings: var(--color-primary);
  --tw-prose-bold: var(--color-primary);
  --tw-prose-quote-borders: var(--color-slate-300);
  --tw-prose-quotes: var(--color-muted-foreground);
  --tw-prose-code: var(--color-primary);

  code {
    &::before,
    &::after {
      display: none;
    }
    text-wrap: nowrap;
  }

  blockquote {
    font-weight: 400;
  }
}
🌐
OpenReplay
blog.openreplay.com › best-tailwind-plugins-faster-development
The Best Tailwind Plugins for Faster Development
November 20, 2025 - Always check each plugin’s README for current Tailwind 4.x compatibility notes. The @tailwindcss/typography plugin remains indispensable for blogs, documentation, and any site with ...