Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>clsx-classNameNew to Visual Studio Code? Get it now.
clsx-className

clsx-className

momoiroshikibu

|
66 installs
| (0) | Free
VS Code extension `clsx-className`
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

clsx-className

About the extension

Using this extension, you can convert space concatenated class names to clsx style.

<!-- example -- >
<div className="a b c d" />

<!-- converted -->
<div className={clsx("a", "b", "c", "d")} />

Command Pallete

Name Command ID Description
convert clsx-className.convert convert className="a b c" to className={clsx("a", "b", "c")}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft