Preparing for system design interviews?  Try bugzed.com →

Prettier Plugin Sort Class Names

JSON →
library 3.0.1 ·javascript
verified Jun 17, 2026

A Prettier plugin that sorts HTML class attributes alphabetically or with a custom order file. Version 3.0.1 supports HTML, CSS @apply, JSX/TSX, and twin.macro. It automatically detects the plugin when installed alongside Prettier 2.x. Unlike similar tools (e.g., prettier-plugin-tailwindcss), this plugin offers flexible ordering via an external file and custom prefixes for responsive variants. Maintenance is community-driven.

total hits 11
actors 4 distinct systems
last hit 17d ago human
GPTBot
4
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France · CZ