Studio

Token Editor

Color

Semantic tokens

color-background
Main canvas surface.
color-foreground
Primary text color.
color-border
Default stroke and rule color.
color-muted
Secondary surface fill.
color-muted-foreground
Supporting text color.

Palette scales

Gray

11 swatches

palette
50#f9fafb
100#f3f4f6
200#e5e7eb
300#d1d5db
400#9ca3af
500#6b7280
600#4b5563
700#374151
800#1f2937
900#111827
950#030712

Primary

9 swatches

palette
100#dbeafe
200#bfdbfe
300#93c5fd
400#60a5fa
500#3b82f6
600#2563eb
700#1d4ed8
800#1e40af
900#1e3a8a

Secondary

11 swatches

palette
50#f5f3ff
100#ede9fe
200#ddd6fe
300#c4b5fd
400#a78bfa
500#8b5cf6
600#7c3aed
700#6d28d9
800#5b21b6
900#4c1d95
950#2e1065

Accent

11 swatches

palette
50#ecfeff
100#cffafe
200#a5f3fc
300#67e8f9
400#22d3ee
500#06b6d4
600#0891b2
700#0e7490
800#155e75
900#164e63
950#083344

Destructive

11 swatches

palette
50#fef2f2
100#fee2e2
200#fecaca
300#fca5a5
400#f87171
500#ef4444
600#dc2626
700#b91c1c
800#991b1b
900#7f1d1d
950#450a0a

Info

11 swatches

palette
50#f0f9ff
100#e0f2fe
200#bae6fd
300#7dd3fc
400#38bdf8
500#0ea5e9
600#0284c7
700#0369a1
800#075985
900#0c4a6e
950#082f49

Warning

11 swatches

palette
50#fffbeb
100#fef3c7
200#fde68a
300#fcd34d
400#fbbf24
500#f59e0b
600#d97706
700#b45309
800#92400e
900#78350f
950#451a03

Success

11 swatches

palette
50#ecfdf5
100#d1fae5
200#a7f3d0
300#6ee7b7
400#34d399
500#10b981
600#059669
700#047857
800#065f46
900#064e3b
950#022c22

Typography

Aa4xl — Display
Aa3xl — Heading 1
Aa2xl — Heading 2
Aaxl — Heading 3
Aalg — Heading 4
Aabase — Body
Aasm — Small / Caption
Aaxs — Fine print

The quick brown fox jumps over the lazy dog. This is body text using the base font size and normal line height.

Smaller supporting text using the muted foreground color and relaxed line height for comfortable reading.

const token = "mono font specimen";

Spacing

xs
sm
md
lg
xl
2xl
3xl
4xl

Border

Radius

border-radius-sm

4px

border-radius-md

8px

border-radius-lg

12px

border-radius-full

9999px

Border widths

border-width-sm

1px

border-width-md

2px

border-width-lg

4px

Sizing

Component heights

size-component-sm

Small component height

32px
size-component-sm

size-component-md

Medium component height

40px
size-component-md

size-component-lg

Large component height

48px
size-component-lg

Icon sizes

size-icon-sm

Small icon

16px

Touch target

Icon or affordance sizing.

size-icon-md

Medium icon

20px

Touch target

Icon or affordance sizing.

size-icon-lg

Large icon

24px

Touch target

Icon or affordance sizing.

Elevation

Shadow scale

shadow-sm

Subtle shadow

shadow
0 1px 2px 0 rgb(0 0 0 / 0.05)

shadow-md

Medium shadow

shadow
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)

shadow-lg

Large shadow

shadow
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)

shadow-xl

Extra large shadow

shadow
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)

Applied surfaces

Popover

A compact floating surface for menus and quick actions.

P
shadow-sm

Panel

A general-purpose card shadow for content blocks and tool drawers.

P
shadow-md

Dialog

The strongest elevation for modal surfaces that need clear separation.

D
shadow-xl

Motion

Durations

Easings

Opacity

Interaction states

opacity-disabled

Disabled state

0.4

Supporting copy that should recede.

opacity-muted

Muted/subtle state

0.6

Supporting copy that should recede.

opacity-overlay

Overlay backdrop

0.8

Supporting copy that should recede.

opacity-full

Fully opaque

1

Supporting copy that should recede.

Overlay layering

Modal surface

The backdrop should sit back while the foreground card remains fully readable.

Full opacityMuted label

Design System

Tokens

Mobile mode

New palette

Create a named palette from a base color. The standard 50-950 ramp is generated automatically.

Generates 11 shades.

Palettes

Primary

9 shades

100
#dbeafe
200
#bfdbfe
300
#93c5fd
400
#60a5fa
500
#3b82f6
600
#2563eb
700
#1d4ed8
800
#1e40af
900
#1e3a8a

Secondary

11 shades

50
#f5f3ff
100
#ede9fe
200
#ddd6fe
300
#c4b5fd
400
#a78bfa
500
#8b5cf6
600
#7c3aed
700
#6d28d9
800
#5b21b6
900
#4c1d95
950
#2e1065

Accent

11 shades

50
#ecfeff
100
#cffafe
200
#a5f3fc
300
#67e8f9
400
#22d3ee
500
#06b6d4
600
#0891b2
700
#0e7490
800
#155e75
900
#164e63
950
#083344

Gray

11 shades

50
#f9fafb
100
#f3f4f6
200
#e5e7eb
300
#d1d5db
400
#9ca3af
500
#6b7280
600
#4b5563
700
#374151
800
#1f2937
900
#111827
950
#030712

Destructive

11 shades

50
#fef2f2
100
#fee2e2
200
#fecaca
300
#fca5a5
400
#f87171
500
#ef4444
600
#dc2626
700
#b91c1c
800
#991b1b
900
#7f1d1d
950
#450a0a

Info

11 shades

50
#f0f9ff
100
#e0f2fe
200
#bae6fd
300
#7dd3fc
400
#38bdf8
500
#0ea5e9
600
#0284c7
700
#0369a1
800
#075985
900
#0c4a6e
950
#082f49

Warning

11 shades

50
#fffbeb
100
#fef3c7
200
#fde68a
300
#fcd34d
400
#fbbf24
500
#f59e0b
600
#d97706
700
#b45309
800
#92400e
900
#78350f
950
#451a03

Success

11 shades

50
#ecfdf5
100
#d1fae5
200
#a7f3d0
300
#6ee7b7
400
#34d399
500
#10b981
600
#059669
700
#047857
800
#065f46
900
#064e3b
950
#022c22

semantic

color-background
Page background
color-foreground
Default text
color-border
Default border
color-muted
Muted surface
color-muted-foreground
Muted text