prettier-plugin-tailwindcss

by tailwindlabs · Web

A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.

New0 ratings7,136 starsActive
WebDeveloper ToolTypeScriptJavaScript
↓ Download v0.8.1GitHub⚑ Report
prettier-plugin-tailwindcss — image 1

About this project

A Prettier v3+ plugin for Tailwind CSS v3.0+ that automatically sorts classes based on our recommended class order. Installation To get started, install prettier-plugin-tailwindcss as a dev-dependency: Then add the plugin to your Prettier configuration: When using a JavaScript config, you can import the types for IntelliSense: Upgrading to v0.5.x As of v0.5.x, this plugin now requires Prettier v3 and is ESM-only. This means it cannot be loaded via require(). For more information see our upgrade guide. Options Specifying your Tailwind stylesheet path (Tailwind CSS v4+) When using Tailwind CSS v4 you must specify your CSS file entry point, which includes your theme, custom…

Technologies

TypeScriptJavaScript

Project health

Actively maintained
Last updatelast week
Contributors48
Latest releasev0.8.1
Open issues & PRs14
LicenseMIT
On GitHubsince 2021

GitHub

7,136
stars
179
forks
48
contributors
14
open issues & PRs
TypeScript
language
last week
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review prettier-plugin-tailwindcss.

Built by

tailwindlabs
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain tailwindlabs/prettier-plugin-tailwindcss? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like