Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>vscode-twined-componentsNew to Visual Studio Code? Get it now.
vscode-twined-components

vscode-twined-components

lowfront

|
458 installs
| (0) | Free
Syntax highlighting for twined-components
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-twined-components

Syntax highlighting and IntelliSense for twined-components's CSS code. It also works for classnames when used with Tailwind CSS IntelliSense.

Syntax highlighting in action

Usage

The twined-components extension adds highlighting and IntelliSense for twined-component template strings in JavaScript and TypeScript.

With Tailwind CSS IntelliSense

Setting the experimental.classRegex property of Tailwind CSS IntelliSense as below supports Syntax highlighting and IntelliSense for classnames.

// settings.json
{
  ...
    "tailwindCSS.experimental.classRegex": [
      "twined.[a-z0-9]+?`([^`]*)",
      "twined\\(\\w+?\\)`([^`]*)",
    ]
  ...
}

Caution

For Tailwind CSS IntelliSense to work, the tailwind.config.js file must be present at the project root directory. If it does not work, create tailwind.config.js as shown in the document and restart Extension Host (Ctrl + p > Developer: Restart Extension Host). Check here for more information.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft