Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Tailwind Class GenieNew to Visual Studio Code? Get it now.
Tailwind Class Genie

Tailwind Class Genie

Yann Xaver

|
222 installs
| (1) | Free
Find the right Tailwind class easily.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tailwind Class Genie

Tired of manually changing Tailwind classes to find the right one?
Can't remember if font-base or font-normal comes after font-light?
What was the next spacing level after mr-24 again?

This extension enables you to forget about class names and focus on the visual outcome instead.

Example

Key Bindings

CTRL(^) + ALT(⌥) + ARROW UP or J:
Go one class up.

CTRL(^) + ALT(⌥) + ARROW DOWN or K:
Go one class down.

You can change the key bindings in the settings.

"keybindings": [
  {
    "command": "tailwind-class-genie.switchClassUp",
    "key": "ctrl+alt+up",
    "mac": "ctrl+alt+up",
    "when": "editorTextFocus"
  },
  {
    "command": "tailwind-class-genie.switchClassUp",
    "key": "ctrl+alt+j",
    "mac": "ctrl+alt+j",
    "when": "editorTextFocus"
  },
  {
    "command": "tailwind-class-genie.switchClassDown",
    "key": "ctrl+alt+down",
    "mac": "ctrl+alt+down",
    "when": "editorTextFocus"
  },
  {
    "command": "tailwind-class-genie.switchClassDown",
    "key": "ctrl+alt+k",
    "mac": "ctrl+alt+k",
    "when": "editorTextFocus"
  }
],

Settings

Auto-save is enabled by default with a delay of 400 milliseconds. Change to your liking.

"tailwind-class-genie.autoSave": {
    "type": "boolean",
    "default": true,
    "description": "Automatically save the file after switching the class."
},
"tailwind-class-genie.autoSaveDelay": {
    "type": "number",
    "default": 400,
    "description": "Delay in milliseconds before saving the file after switching the class."
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft