Instant Theming with shadcncraft

Apply themes instantly across the shadcncraft design system. Learn how to switch themes and preview UI changes across your entire interface.

PreviousNext

All theming now happens inside the shadcn theme import & export Figma plugin, keeping your Figma variables aligned with shadcn/ui projects and Tailwind v4.

Supported actions

  • Import themes from tweakcn, shadcn create, or CSS code
  • Export current variables to global css

Theme with tweakcn

Shadcn theme import and export plugin

Applying a tweakcn theme

Open your shadcncraftft library file in Figma

  1. Run the shadcn theme import & export plugin
  2. Select Import theme
  3. Choose tweakcn as the source
  4. Do one of the following:
    • Select a preset theme from the list
    • Paste a custom tweakcn theme URL
  5. Click Apply

This creates a new mode inside the theme collection and applies it across the document. Existing themes are not overwritten.

Watch demo

How to get a tweakcn theme URL

  1. Go to tweakcn.com
  2. Create or edit a theme
  3. Click "Save" in the top-right
  4. Go to your profile and copy the saved theme URL
  5. Paste this URL into the shadcncraft plugin import field

This URL contains all color, radius, and token values.

Watch demo

Theme with shadcn Create

Tweakcn theme import

Applying a shadcn theme

Open your shadcncraft library file in Figma

  1. Run the shadcn theme import & export plugin
  2. Select Import theme
  3. Choose shadcn as the source
  4. Do one of the following:
    • Select a preset configuration
    • Paste a custom shadcn Create URL
  5. Click Apply

A new mode is created in the theme collection and applied to the entire document without affecting existing themes.

How to get a shadcn Create URL

  1. Go to https://ui.shadcn.com/create
  2. Configure your project:
    • Colors
    • Radius
    • Fonts
    • Style preferences
  3. Click share to copy the full URL
  4. Paste this URL into the shadcncraft plugin import field

The plugin reads the configuration directly from the URL.

Watch demo

Theme with CSS

Shadcn Create theme import
  1. Open your shadcncraft library file in Figma
  2. Run the shadcn theme import & export plugin
  3. Select Import theme
  4. Choose globals.css as the source
  5. Enter mode/theme name
  6. Paste your CSS code into the input field
  7. Click Apply

The CSS is parsed and mapped to shadcncraft variables, creating a new mode while keeping existing themes intact.

Export theme to CSS

  1. Open your shadcncraft library file in Figma
  2. Run the shadcn theme import & export plugin
  3. Set how your CSS should be generated:
    • Theme mode: Select the mode you want to export (for example Light, Dark, Brand)
    • Tailwind version: Choose the Tailwind version (Tailwind v4 by default)
    • Color output: Select the color format (for example oklch)
  4. Toggle the parts of the theme you want in the export:
    • Light mode
    • Dark mode
    • Sidebar colors
    • Chart colors
    • Radius
    • Font family
    • Shadows
  5. Click Export CSS
  6. shadcncraft generates a production-ready globals.css

Get a preview

Use the theme preview to the right to get a handy snapshot of your theme across the entire library as you theme.

Adding or editing variables

Theming may not break if you add new variables, but if you rename existing ones, it may cause theming issues.

The export output is

  • Compatible with shadcn/ui
  • Compatible with Tailwind v4
  • Based on the exact current variable values in Figma

You can copy the CSS directly or download it for use in your project.

Theme export to CSS
SBIOTJ

Join 3,000+ builders shipping with shadcncraft

Design and assemble full pages faster with production-ready blocks built for real products.

  • Production-ready blocks and components
  • Clean React and Tailwind parity
  • Built for SaaS, marketing, and ecommerce teams
Get the design system
Join Now CTA

Real support from the team behind shadcncraft

Get help within 24 hours from the people who build and maintain the system.

Email
Prefer a direct line? Send us a message and we'll get back to you as soon as possible.
Discord
Get quick support, share feedback, or connect with other builders.
Feedback
Got something to say about anything shadcncraft? We'd love to hear it.