Overview Version History Q & A Rating & Review
Design - Visual Tailwind Editor for VS Code
Edit Tailwind CSS visually. Click any element in the live preview, adjust styles in the design bar, and watch changes sync to your source code instantly.
Features
Click-to-Select : Click any element in the preview to select it
Visual Design Bar : Edit spacing, colors, typography, and layout without writing CSS
Live Preview : See changes instantly with hot module reload
Source Sync : All edits update your actual source files - no generated code
Multiple Content Sources : Work with dev servers, static builds, or external URLs
Authentication Support : Edit apps behind authentication (Bearer tokens, cookies, etc.)
Getting Started
With Dev Server (Default)
Open any .astro, .tsx, .jsx, .vue, or .svelte file
Click Open Design View in the editor title bar (or run the command)
Click elements in the preview to select them
Use the design bar on the right to edit styles
With External URL
Run your dev server separately (npm run dev on port 3000, etc.)
Run command: VS Design: Connect to External URL
Enter your URL (e.g., http://localhost:3000)
The extension will proxy the connection and enable visual editing
With Static Build
Build your project (npm run build)
Run command: VS Design: Open Build Folder
Select your build output folder (dist, build, out, etc.)
Edit your static build visually
Authentication
For apps behind authentication:
Run command: VS Design: Set Authentication
Choose auth type:
Bearer Token : For JWT/API token auth
API Key : For API key header auth
Basic Auth : For username:password auth
Cookie : For session cookie auth
Enter your credentials
All requests will include authentication
To clear auth: VS Design: Clear Authentication
Requirements
A project using Tailwind CSS
Node.js and npm installed
For dev server mode: A dev server that supports HMR (Astro, Vite, etc.)
Extension Settings
vs-design.devServerCommand: Command to start the dev server (default: npm run dev)
vs-design.devServerPort: Port for the dev server (default: 4321)
vs-design.componentFolders: Folders to scan for components
Commands
Command
Description
VS Design: Open Design View
Open visual editor with dev server
VS Design: Toggle Design View
Toggle the design view panel
VS Design: Connect to External URL
Connect to any running web app
VS Design: Open Build Folder
Serve and edit a static build
VS Design: Set Authentication
Configure authentication
VS Design: Clear Authentication
Remove authentication
Supported Frameworks
Astro
React (JSX/TSX)
Vue
Svelte
Next.js
Any framework with Vite
How It Works
The extension uses a proxy server to:
Serve content from dev servers, static builds, or external URLs
Inject source mapping so clicks on elements trace back to your code
Strip security headers that prevent iframe embedding
Inject authentication credentials when configured
When you edit styles, it parses your source file and updates the class attribute directly.
Free and open source