Dilettante258 / headwind-monorepo
PublicHeadwind parses Tailwind utility classes from JSX/TSX/HTML source code, replaces them with generated semantic class names, and outputs corresponding CSS. It runs as a WASM module in the browser, a VS Code extension, or a Node.js transformer.
Headwind transforms Tailwind atomic utility classes in JSX/TSX/HTML source code into generated semantic class names paired with optimized CSS rules.
How It Works
You hear about Headwind, a helpful tool that turns messy Tailwind classes into clean, meaningful ones while creating perfect matching styles.
Jump right in with no setup - just paste your code.
Install the simple editor add-on that works with your files.
Drop in your JSX, TSX, or HTML with all those long Tailwind class lists.
Pick fun options like short codes, easy-to-read names, or smart camelCase that fits your project perfectly.
Watch in seconds as your tangled classes become simple, semantic names with ready-to-use CSS.
See a side-by-side view, copy code and styles, or let AI suggest even better names.
Your site now has tidy, meaningful classes, smaller files, and styles that just work - no more utility class chaos!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.