TailAid
Smarter Tailwind CSS development inside VS Code.
Features🎨 Color-coded Syntax HighlightingEvery Tailwind class is instantly highlighted with a distinct color based on its category — making large
Variants like ↕️ Sort Classes by CategoryInstantly reorganize the classes inside any Via Command Palette (
Via keyboard shortcut:
Classes are sorted in this canonical order:
🗂️ Class ExplorerBrowse all known Tailwind classes organized by category in the VS Code sidebar. Click any class to insert it directly into your code. 🔍 Hover InformationHover over any Tailwind class to see its category and description without leaving your editor. ⚙️ Custom Classes via
|
| Field | Type | Required | Description |
|---|---|---|---|
prefix |
string \| string[] |
✅ | One or more class prefixes/names to match |
category |
string |
✅ | Category label used for highlighting and sorting |
color |
string |
✅ | Text highlight color (any CSS color value) |
backgroundColor |
string |
❌ | Background tint (any CSS color value) |
Hot-reload: The extension watches
tailaid.config.jsonfor changes and re-applies highlights instantly — no restart required.
Priority: Custom classes always take precedence over built-in Tailwind categories.
Installation
- Open VS Code
- Go to the Extensions view (
Ctrl+Shift+X/Cmd+Shift+X) - Search for TailAid
- Click Install
Supported languages: html, javascript, typescript, javascriptreact, typescriptreact
Contributing
Contributions are welcome! Check out CONTRIBUTING.md for guidelines.
License
MIT — see LICENSE for details.