Plainwind
Plainwind translates Tailwind CSS classes into plain English in VSCode, making complex classes instantly understandable without cognitive load.
Install / Use
/learn @gavbarosee/PlainwindQuality Score
Category
Development & EngineeringSupported Platforms
README
Translate Tailwind CSS classes to plain English directly in your editor.
Install from VS Code Marketplace • Full Documentation • Report Issue • Discussions
</div>What It Does
Plainwind translates Tailwind CSS classes to plain English directly in your editor.
From complex Tailwind classes:
<div className="fixed bottom-0 right-0 flex items-center justify-between gap-8 p-12 backdrop-blur-3xl bg-gradient-to-br from-purple-500/20 via-pink-500/20 to-rose-500/20 border border-white/30 shadow-2xl rounded-3xl -rotate-2 hover:rotate-0 hover:scale-105 transition-all duration-700 z-50">
To simplified, plain English translations:
Layout:
fixed to viewport (stays visible when scrolling page)
Positioning:
positioned at bottom edge, positioned at right edge, stacks on top of everything (z-index 50)
Flexbox & Grid:
flexbox container, items aligned to center, spread items across full width (space between),
2rem space between items
Spacing:
3rem padding on all sides
Filters:
3x extra large blur behind element (maximum blur)
Backgrounds:
gradient flowing to bottom-right corner, gradient starts at purple with 20% opacity,
gradient passes through pink with 20% opacity, gradient ends at rose with 20% opacity
Borders:
border on all sides, white border with 30% opacity, 3x large rounded corners
Effects:
2x extra large box shadow (dramatic elevation)
Transforms:
slight tilt counterclockwise (-2°), [Hover] no rotation (0°), [Hover] slightly enlarged (105% size)
Animation:
smoothly animates all property changes, very slow animation (700ms)
Features
Display Modes
Plainwind gives you three ways to view translations:
- CodeLens shows translations above className attributes. They're always visible, making it easy to learn Tailwind patterns.
- Hover shows translations only when you hover over a className. This keeps your editor clean while still giving you instant access.
- Off disables translations when you don't need them. The extension stays loaded for quick re-enabling.
Smart Features
Plainwind includes features that adapt to your workflow:
- Category Grouping organizes translations by Layout, Spacing, Colors, and Typography for easier scanning
- File-Level Control lets you disable Plainwind for specific files via the status bar
- Detail Panels open when you click any translation to show full breakdowns with copy buttons
- Visual Enhancements display actual color swatches and font previews in detail panels
Conditional Detection
Plainwind understands when classes apply conditionally. The translations show you the conditions alongside the styles:
<button className={clsx(
'px-4 py-2 rounded-md',
isActive && 'bg-blue-500 text-white',
isDisabled && 'opacity-50'
)}>
You'll see:
Spacing: padding | Borders: rounded corners
Colors: blue background, white text (if isActive)
Interactivity: 50% opacity (if isDisabled)
Plainwind recognizes all the patterns you actually use:
- Ternaries (
x ? 'a' : 'b'), including nested ternaries - Logical operators (
&&,||,??) - Object syntax (
{ 'class': condition }) - Array syntax (
['class1', 'class2']) - Template literals (
`flex ${dynamic}`)
Works with clsx, classnames, cn, twMerge, cva, and tw.
Learn more about conditional detection →
Framework Support
Works with React, Vue, Svelte, Angular, Solid.js, and standard HTML.
Quick Start
- Install from the VS Code Marketplace
- Open any file with Tailwind classes
- See translations appear automatically
That's it! No configuration required, but you can customize it to fit your workflow.
View full getting started guide
Documentation
Complete guides, configuration options, and framework examples:
- Getting Started for installation and setup
- Features for display modes, detail panels, and conditional detection
- Configuration for settings and keyboard shortcuts
- Framework Support for React, Vue, Svelte, Angular, and Solid examples
- Contributing for development setup and guidelines
Commands
Access these commands via the Command Palette (Cmd+Shift+P / Ctrl+Shift+P):
| Command | Description |
|---------|-------------|
| Plainwind: Show Options Menu | Quick menu with all settings and options |
| Plainwind: Choose Display Mode | Switch between CodeLens, Hover, or Off |
| Plainwind: Toggle Extension On/Off | Enable/disable Plainwind globally |
| Plainwind: Toggle for This File | Enable/disable for current file only |
| Plainwind: Disable for This File | Disable Plainwind for current file |
| Plainwind: Enable for This File | Enable Plainwind for current file |
| Plainwind: Toggle Group By Category | Toggle category grouping on/off |
| Plainwind: Toggle Category Emojis | Show/hide emojis in category names |
| Plainwind: Toggle Visual Enhancements In Detail Panel | Toggle color, font, and spacing previews |
| Plainwind: Set CodeLens Truncation Length | Adjust when translations get truncated |
| Plainwind: Clear All Detail Panels | Close all open translation panels |
Tip: Use Plainwind: Show Options Menu for quick access to the most common settings.
Quick Configuration
| Setting | Default | Description |
|---------|---------|-------------|
| plainwind.enabled | true | Enable/disable globally |
| plainwind.displayMode | codelens | Choose codelens, hover, or off |
| plainwind.groupByCategory | true | Group by Layout, Spacing, Colors, etc. |
| plainwind.showCategoryEmojis | false | Show emojis in category labels |
View all configuration options →
Contributing
We'd love your help making Plainwind better.
Quick start:
git clone https://github.com/gavbarosee/plainwind.git
cd plainwind
npm install
npm run compile
Press F5 in VS Code to launch the extension in debug mode.
Read the full contributing guide →
Learn More
Visit the full documentation at plainwind.dev for detailed guides, configuration options, and framework-specific examples.
License
MIT — see the LICENSE file for details.
Copyright © 2025 Gav Barosee
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
