A CLI tool for automatically sorting and organizing Tailwind CSS classes in your project files.
RustyWind is a CLI tool that automatically sorts and organizes Tailwind CSS classes in project files. It solves the problem of inconsistent and cluttered class ordering by enforcing a standardized structure, making code more readable and maintainable.
Frontend developers and teams using Tailwind CSS who want to automate class organization and enforce consistent formatting across their codebase.
Developers choose RustyWind for its speed, reliability, and flexibility—it offers configurable sorting, duplicate removal, and seamless integration into development and CI workflows, all built with Rust for performance.
CLI for organizing Tailwind CSS classes
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Built with Rust, RustyWind processes files quickly, making it efficient for large codebases with extensive Tailwind classes, as highlighted by its command-line design.
Supports custom sort orders via JSON config files, CSS file references, or Vite integration, allowing teams to tailor class organization to their project needs.
The --check-formatted flag enables seamless integration into continuous integration pipelines, enforcing formatting standards automatically with error exits.
Automatically detects and removes duplicate Tailwind classes, reducing stylesheet bloat and improving code cleanliness without manual effort.
The --vite-css option is marked as experimental and may be removed, introducing instability for projects that depend on Vite-generated CSS for sorting.
As a CLI tool, it struggles with dynamically generated classes or complex template expressions that can't be parsed statically, potentially missing or misordering classes.
Setting up custom sort orders requires creating and maintaining JSON or CSS files, adding complexity for simple projects or teams wanting out-of-the-box solutions.