Skip to content

shadcn Theme Editor

A dev-only overlay that edits shadcn/ui theme tokens live and writes the changes back to your CSS.

github.com/Sebas-DV/shadcn-theme-editor

shadcn Theme Editor website screenshot
Added
GitHub stars
2
License
MIT
Price
Free

About

About shadcn Theme Editor

shadcn Theme Editor by Sebas-DV is an in-app overlay for editing shadcn/ui theme tokens in Tailwind v4 and OKLCH: colors, border radii, typography, shadows and spacing. You drag OKLCH sliders, watch your real app recolor, and press Apply to write the changes into your source CSS with PostCSS, so comments and ordering survive. It shows live WCAG contrast badges and remembers its minimized state.

One Vite plugin covers Vite with React, Vue or Svelte, Laravel with Inertia, TanStack Start, Astro, Remix and SvelteKit, while a drop-in ThemeEditor React component and a companion CLI handle Next.js. It is published on npm as @sebas-dv/shadcn-theme-editor under the MIT license. Because it writes to files, it is strictly development-only and refuses to run when NODE_ENV is production.

shadcn Theme Editor features

5 features

  • OKLCH sliders for color tokens
  • Live WCAG contrast checks
  • Apply writes straight to globals.css
  • Vite plugin for several frameworks
  • Drop-in component and CLI for Next.js

What you can build with shadcn Theme Editor

3 use cases

  • Tuning a brand color and checking contrast in the running app
  • Editing radius and shadow tokens without leaving the browser
  • Syncing theme tweaks to source CSS in a Laravel Inertia project

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