shadcn Color Preview
A VS Code extension that previews the HSL values in shadcn-style CSS variables right in your editor.
- Category
- Plugins & Extensions
- Added
- Price
- Free
About
About shadcn Color Preview
shadcn Color Preview is a Visual Studio Code extension by Dexxiez. shadcn/ui stores theme colors as bare HSL numbers in CSS variables, which editors do not recognize as colors. This extension draws a preview for those values and updates it as you type. Hovering a value shows more color information, including a mixer and conversion utilities.
Install it from the Visual Studio Marketplace, where it is listed as free with about 7,100 installs. It works in CSS, SCSS, LESS, PostCSS, JS, JSX, TS, TSX and files the Tailwind language server recognizes. Hex highlighting is left out on purpose so it does not clash with other color extensions.
shadcn Color Preview features
6 features
- Live preview of shadcn HSL variables
- Hover card with a color mixer
- Conversion utilities
- CSS, SCSS, LESS and PostCSS support
- JS, JSX, TS and TSX support
- Tailwind CSS file support
What you can build with shadcn Color Preview
3 use cases
- Tweaking --primary and --background in globals.css
- Checking a pasted theme from a theme generator
- Converting a color value while editing a stylesheet
Plugins & Extensions
Similar to shadcn Color Preview
More plugins & extensions like shadcn Color Preview: the closest by what they do, then the most starred.
CSS Variables EditorPluginCSS Variables Editor is a Chrome extension for changing color CSS variables live, with AI palettes, contrast checks and shadcn/ui support.
ImpromptPluginImprompt is an open-source Chrome extension that improves prompts on ChatGPT, Claude and Gemini and lets you chat with any webpage.
shadcn/svelte for VS CodePluginThe shadcn/svelte VS Code extension installs components, opens docs pages and adds import snippets for Svelte 4 and Svelte 5 projects.
shadcn/ui for VS CodePluginA free VS Code extension by Suhel Makkad that initializes the shadcn CLI and installs components without leaving the editor.
shadcn/ui snippetsPluginshadcn/ui snippets is a VS Code snippet pack for importing shadcn/ui components in JSX and TSX. It is deprecated in favor of shadcn/next.
shadcn/vue for VS CodePluginThis free VS Code extension installs shadcn/vue components from the editor and adds cni and cnx snippets for imports and templates in Vue files.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What shadcn Color Preview is, how to install it, its license and its alternatives.
No. Hex highlighting is excluded on purpose, since most people already have another extension for it and the two would conflict.
CSS, SCSS, LESS, PostCSS, JS and JSX, TS and TSX, and Tailwind CSS files the Tailwind language server recognizes.
A VS Code extension that previews the HSL values in shadcn-style CSS variables right in your editor.
shadcn Color Preview lists Live preview of shadcn HSL variables, Hover card with a color mixer, Conversion utilities, CSS, SCSS, LESS and PostCSS support, JS, JSX, TS and TSX support and Tailwind CSS file support.
The directory lists these uses for shadcn Color Preview: Tweaking --primary and --background in globals.css, Checking a pasted theme from a theme generator and Converting a color value while editing a stylesheet.
The directory does not name a maker for shadcn Color Preview. Its site is https://marketplace.visualstudio.com/items?itemName=dexxiez.shadcn-color-preview.
shadcn Color Preview was added to the directory on December 27, 2024.
shadcn Color Preview is in Plugins & Extensions. Editor, browser and launcher extensions that browse, add and preview shadcn/ui components without leaving your tools.
IDE extension, Colors, Themes, Tailwind CSS, TypeScript and Free. Each tag has a page listing the other resources that carry it.
No. shadcn Color Preview's site cannot be framed, so its page shows screenshots of it and a link to the site.
The directory lists no install command for shadcn Color Preview. Follow the instructions on its site at https://marketplace.visualstudio.com/items?itemName=dexxiez.shadcn-color-preview.
The directory lists no shadcn CLI command for shadcn Color Preview. Check its docs at https://marketplace.visualstudio.com/items?itemName=dexxiez.shadcn-color-preview for how to add it.
The directory links no repository for shadcn Color Preview. Its site is https://marketplace.visualstudio.com/items?itemName=dexxiez.shadcn-color-preview.
The directory links no separate docs for shadcn Color Preview; start from its site at https://marketplace.visualstudio.com/items?itemName=dexxiez.shadcn-color-preview.
The directory records no license for shadcn Color Preview. Check its repository or site before you use it.
The directory records no price for shadcn Color Preview. Its site, https://marketplace.visualstudio.com/items?itemName=dexxiez.shadcn-color-preview, is where its pricing, if any, is stated.
No. shadcn Color Preview is made by its own maker and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Plugins & Extensions, newest first: CSS Variables Editor, Imprompt, shadcn/svelte for VS Code and shadcn/ui for VS Code. Their pages are linked under Similar to shadcn Color Preview.
Open its category, Plugins & Extensions, or one of its tags (IDE extension, Colors and Themes): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro
