Learn how to install our free themes directly in your shadcn/ui project, or import them into your Figma file as a new style.
If you created a theme in our Theme Generator and copied the CSS, use it in your project like this:
app/globals.css). Replace the @theme inline, :root, and .dark blocks with the properties you copied.<link> in your root layout (layout.tsx) so --font-sans and --font-heading resolve correctly.After that, your components use the new theme variables automatically.
If you want to install our free themes, you can install them with the latest shadcn CLI 3.0. Themes are CSS-only, so they work with both the Radix UI and Base UI versions of shadcn/ui.
npx shadcn@latest add @shadcndesign/theme-sketchpadlayout.tsx file.You can import a theme into the shadcn/ui kit for Figma as a new style and start designing with it in minutes. Because a custom theme is a mode in the Style collection, it lives alongside the 8 built-in styles and you can switch to it on any page or frame.
You can also choose Overwrite an existing style if you'd rather replace one of the built-in styles with the imported values instead of adding a new mode. Note that adding a new mode is subject to your Figma plan's modes-per-collection limit (the Style collection already has 8) — if adding isn't available on your plan, use Overwrite.