Skip to content

Shadcn Theme Editor

A lightweight component that adjusts shadcn/ui theme colors with a visual editor and a live preview.

shadcnthemeeditor.vercel.app

Shadcn Theme Editor website screenshot
Added
GitHub stars
198
License
MIT
Price
Free

About

About Shadcn Theme Editor

Shadcn Theme Editor is a lightweight component for customizing colors in shadcn/ui projects without hand-editing CSS. A visual interface lets you adjust theme values and see buttons, cards, text colors, dialogs and forms update in real time. It supports light and dark modes through the html.dark class and works with shadcn components. The hosted demo previews variants such as primary, secondary, accent and destructive.

There are two install routes. Add it as a dev dependency with npm install --save-dev shadcn-theme-editor, or yarn, pnpm and bun equivalents, which the README recommends because of bundle size. Or use the Scaflo CLI to copy it as source components you can edit. The repository is MIT licensed and has 198 stars. It suits developers who want a quick way to experiment with palettes during development.

Shadcn Theme Editor features

5 features

  • Visual editor for theme colors
  • Real-time preview on components
  • Light and dark mode via html.dark
  • Install as dev dependency or source components
  • MIT-licensed code

Install Shadcn Theme Editor

1 command

Terminal

$ npm install --save-dev shadcn-theme-editor

What you can build with Shadcn Theme Editor

3 use cases

  • Experimenting with a new primary color during development
  • Previewing destructive and accent states together
  • Handing a non-developer a visual way to tune colors

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 Theme Editor is, how to install it, its license and its alternatives.

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