{"library":"prettier-plugin-tailwindcss","type":"library","category":null,"description":"Prettier plugin that automatically sorts utility classes in Tailwind CSS projects using the official class ordering from Tailwind. Current stable version is 0.7.3 (November 2024), with frequent releases addressing compatibility with the latest Prettier and Tailwind versions. It works with Tailwind v3 and v4, supports TypeScript configs, and integrates with many other Prettier plugins like prettier-plugin-svelte, prettier-plugin-astro, and @ianvs/prettier-plugin-sort-imports. Key differentiator: it is developed by the Tailwind CSS team, ensuring the sort order matches the official Tailwind CSS IntelliSense extension. Requires Node.js >=20.19 and Prettier ^3.0.","language":"javascript","status":"active","version":"0.7.3","tags":["javascript","typescript"],"install":[{"cmd":"npm install prettier-plugin-tailwindcss","imports":["// in .prettierrc: { \"plugins\": [\"prettier-plugin-tailwindcss\"] }","import type { Plugin } from 'prettier-plugin-tailwindcss';","// In .prettierrc.ts: import { tailwindFunctions } from 'prettier-plugin-tailwindcss'; export default { plugins: ['prettier-plugin-tailwindcss'], tailwindFunctions: ['cn', 'clsx', 'tw'] };"]},{"cmd":"yarn add prettier-plugin-tailwindcss","imports":[]},{"cmd":"pnpm add prettier-plugin-tailwindcss","imports":[]}],"homepage":"https://tailwindcss.com","github":"https://github.com/tailwindlabs/prettier-plugin-tailwindcss","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-tailwindcss","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prettier-plugin-tailwindcss/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}