Skip to content

Shadcn Theme Editor

The shadcn Theme Editor is a must-have developer tool that provides an intuitive visual interface for customizing shadcn/ui color themes without manually editing CSS variables or converting between color formats.

Shadcn Theme Editor — preview
Updated

Live preview

Live Preview

Interact with the actual deployed template — every section, every interaction, no mockups.

shadcnthemeeditor.vercel.app

Open in a new tab (opens in a new tab)

Loading preview…

About

About Shadcn Theme Editor

Built with Next.js, React, TypeScript, and Tailwind CSS, this component allows developers and designers to interactively adjust all theme tokens, preview changes in real-time across light and dark modes, and export ready-to-use CSS configurations. The editor features interactive color pickers for all shadcn/ui theme tokens including background, foreground, primary, secondary, accent, destructive, and border colors, live preview showing how components look with the selected theme applied, automatic HSL to CSS variable conversion eliminating manual color format calculations, one-click copying of generated CSS for immediate integration into projects, preset theme templates to jumpstart customization from popular color schemes, and accessibility contrast checking to ensure color combinations meet WCAG standards. The interface organizes theme tokens by their semantic purpose, making it clear which colors affect buttons versus backgrounds versus text, helping developers understand the shadcn/ui theming system while customizing it.

This tool is invaluable for designers creating custom brand themes without CSS expertise, developers building white-label applications requiring multiple tenant-specific themes, teams experimenting with color palettes before committing to final designs, projects needing to match precise brand guidelines with exact color control, and anyone frustrated with manually converting hex colors to the HSL format required by shadcn/ui. The Theme Editor can be installed as a dev dependency via npm or integrated using the Scaflo CLI, bridging the gap between visual design and technical implementation to make theme customization accessible and efficient.

Get started

Free, open source, and ready to ship.

Clone the repo, install dependencies, and start customising. Shadcn Theme Editor is free and open source: its license is in the repository.

  1. Clone the Shadcn Theme Editor repository from GitHub.
  2. Run npm install or pnpm install to install all required packages.
  3. Run npm run dev to start the development server and begin customizing.
  4. Check the repository’s README and license before you ship.

Terminal

$ git clone https://github.com/programming-with-ia/shadcn-theme-editor
$ cd shadcn-theme-editor
$ npm install
$ npm run dev

Included in Pro

More Templates

Hand-built premium templates from shadcn.io — production-ready and bundled in Pro.

Every template, every block. One Pro plan unlocks all 14, with 6,000+ blocks and MCP for your AI editor.

Get Pro

Pricing

Every premium template, with Pro

All 14 premium templates come with every Pro plan, with 6,000+ blocks and the MCP server. Pick the seats you need.

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

Everything you need to know before you ship with Shadcn Theme Editor.

4.9 out of 5 from 150+ developers

Ship your next site this weekend

14 premium templates, 6,000+ blocks and MCP in every Pro plan. Shadcn Theme Editor and the other 214 open source templates stay free.

Get Pro