Updated Dec 3, 2025

Variables

Collections

Variables are grouped into four collections, each handling a specific part of your design system

1. Spacing

This collection houses primitive spacing variables used for auto layout

2. Primitives

This collection includes standard Tailwind utility-based values. It’s designed to match the utility-first approach used in shadcn/ui.

Use these variables to:

  • Set component dimensions (height, width) and spacing

  • Define borders, including radius and stroke width

  • Adjust opacity values

  • Set line-height for text styles

Group

Usage

border-radius

Border radius values for rounded corners

border-width

Set border thickness

height

Control the height of components and individual elements

max-width

Set minimum and maximum width constraints for components or individual elements

opacity

Adjust element transparency

width

Control the width of components and individual elements

3. Theme

Edit these variables to apply your brand styling. This is where the majority of the theming variables live for light and dark mode in Shadcraft. The Theme collection allows you to house multiple brands with unique styling from the one library.

Use these variables to define theme-specific:

  • Typography

  • Shadows

  • Radii

Group

Usage

colors

Define the color palette used for your theme

custom

Misc things like icon border width

font

Control all the facets of typography including family, size and weight

radius

Theme-specific radii – references Primitive collection

shadow

Define all the properties of the various shadows

Color variable usage guide

color

Usage

primary

Define the color palette used for your theme

primary-foreground

For elements on top of primary

secondary

Your secondary brand color

secondary-foreground

For elements on top of secondary

accent

Highlight color for active or focused elements

accent-foreground

For elements on top of accent

background

Main application background color

foreground

For elements on top of background

card

Background color for cards

card-foreground

For elements on top of card

popover

Background color for things like select menus

popover-foreground

For elements on top of popover

muted

Subtle background for elements requiring less attention

muted-foreground

For elements on top of muted

destructive

For errors and destructive actions like delete

destructive-foreground

For elements on top of destructive

border

Main border color

input

Border color for form input elements

ring

Helps define the focus indicator

opacity-90

Applied to elements to lighten their background color

opacity-50

Applied to elements to lighten their background color

opacity-30

Applied to elements to lighten their background color

custom/focus

The soft outer focus ring on focussed elements like buttons

custom/destructive-focus

The soft outer focus ring on focussed elements like destructive buttons

bg-input-30

Used for the background of elements like input to increase contrast in dark mode. More info here

bg-input-50

Used in the backgrounds of elements on hover like Combobox

bg-input-80

Used for input element background like Switch

  1. Mode

These are the colors you apply to elements in your library. They enable the use of light and dark modes. These reference variables in the Theme collection.

Group

Usage

Root

The majority of colors for UI in Shadcraft. These reference colors in the theme collection.

custom

Figma-specific colors used to achieve the shadcn/ui look.

chart

Colors used for charts

shadow

Colors used for shadows

sidebar

Colors specific for the sidebar component

Best practices

  • Use variables instead of hard-coded values to maintain consistency across your designs.

  • Apply Mode variables to any elements that need to respond to light or dark themes.

  • Use the collections in different ways:

    • Alter the values of Theme for Theme-specific styles

    • Apply mode variables rather than editing their values

Following these practices ensures your Figma designs stay aligned with the shadcn/ui framework and are easily translatable to Tailwind CSS in code.

Pricing

Select licence

Single

Team

Enterprise

For solo designers and developers

Fast support • Unlimited projects • Lifetime updates

Base

All the essential shadcn/ui components and blocks. A Figma UI Kit that helps you build faster on a solid design foundation.

$119

One-time payment • Plus local taxes

Easy theming via tweakcn

All shadcn Figma components

All shadcn Figma blocks

1500+ Lucide icons

Tailwind CSS alignment

Prototype interactions

Figma variables

Light & dark mode

Pro

Pro Components, Blocks, and Templates. A complete Figma UI Kit that lets you assemble polished layouts in seconds.

$299

$399

One-time payment • Plus local taxes

Everything in Base

25+ Pro Components

117 Blocks to ship faster

Full page Templates

Perfect for marketing sites

Ideal for product apps [soon]

Assemble sites in seconds

Responsive layouts

+

Pro React

Pro Figma UI Kit plus matching React components. Build production-ready interfaces with aligned design and code.

$499

$699

One-time payment • Plus local taxes

Everything in Pro

Pixel perfect design parity

Zero setup needed

Composable / extendible

Production ready blocks

Fully responsive

shadcn aligned tokens

CLI install & MCP support

Prices in USD.

Secure payment with Polar.sh

Pricing

Select licence

Single

Team

Enterprise

For solo designers and developers

Fast support • Unlimited projects • Lifetime updates

Base

All the essential shadcn/ui components and blocks. A Figma UI Kit that helps you build faster on a solid design foundation.

$119

One-time payment • Plus local taxes

Easy theming via tweakcn

All shadcn Figma components

All shadcn Figma blocks

1500+ Lucide icons

Tailwind CSS alignment

Prototype interactions

Figma variables

Light & dark mode

Pro

Pro Components, Blocks, and Templates. A complete Figma UI Kit that lets you assemble polished layouts in seconds.

$299

$399

One-time payment • Plus local taxes

Everything in Base

25+ Pro Components

117 Blocks to ship faster

Full page Templates

Perfect for marketing sites

Ideal for product apps [soon]

Assemble sites in seconds

Responsive layouts

+

Pro React

Pro Figma UI Kit plus matching React components. Build production-ready interfaces with aligned design and code.

$499

$699

One-time payment • Plus local taxes

Everything in Pro

Pixel perfect design parity

Zero setup needed

Composable / extendible

Production ready blocks

Fully responsive

shadcn aligned tokens

CLI install & MCP support

Prices in USD.

Secure payment with Polar.sh

Pricing

Select licence

Single

Team

Enterprise

For solo designers and developers

Fast support • Unlimited projects • Lifetime updates

Base

All the essential shadcn/ui components and blocks. A Figma UI Kit that helps you build faster on a solid design foundation.

$119

One-time payment • Plus local taxes

Easy theming via tweakcn

All shadcn Figma components

All shadcn Figma blocks

1500+ Lucide icons

Tailwind CSS alignment

Prototype interactions

Figma variables

Light & dark mode

Pro

Pro Components, Blocks, and Templates. A complete Figma UI Kit that lets you assemble polished layouts in seconds.

$299

$399

One-time payment • Plus local taxes

Everything in Base

25+ Pro Components

117 Blocks to ship faster

Full page Templates

Perfect for marketing sites

Ideal for product apps [soon]

Assemble sites in seconds

Responsive layouts

+

Pro React

Pro Figma UI Kit plus matching React components. Build production-ready interfaces with aligned design and code.

$499

$699

One-time payment • Plus local taxes

Everything in Pro

Pixel perfect design parity

Zero setup needed

Composable / extendible

Production ready blocks

Fully responsive

shadcn aligned tokens

CLI install & MCP support

Prices in USD.

Secure payment with Polar.sh

Bryce avatar
David
Alberto

Join top designers leading the way with Shadcraft

Become an ambassador and get a free kit.

Bryce avatar
David
Alberto

Join top designers leading the way with Shadcraft

Become an ambassador and get a free kit.

Bryce avatar
David
Alberto

Join top designers leading the way with Shadcraft

Become an ambassador and get a free kit.

Stay in the know

Keep updated on all things happening with Shadcraft.

We respect your privacy

Stay in the know

Keep updated on all things happening with Shadcraft.

We respect your privacy

Stay in the know

Keep updated on all things happening with Shadcraft.

We respect your privacy