Radix Themes

by WorkOS

#Foundations

The docs are written one section at a time, from what the capture read and a review of full-page shots. A draft has captured data to write from; a missing section needs another capture pass.

5 of 6 with captured data · 5 written

Color

Reviewed

Radix Colors' 12-step scales: slate for the neutrals, indigo for the accent. The page is white (#111113 in dark), text slate-12 #1c2024 (#edeef0) and muted text #60646c. The accent solid, indigo-9 #3e63dd, is the same in both modes; links and soft text use indigo-11 (#3a5bc7, #9eb1ff in dark) and soft fills indigo-3 (#edf2fe). Edges are alpha steps: slate-a7 around fields (#cdced6 on white) and slate-a6 for separators (#d9d9e0). Menus and dialogs sit on the solid panel: white, or slate-2 #18191b in dark.

Usage

  • Every color prop swaps the whole scale: a red menu item, a green soft field and an orange soft badge use steps 3, 9 and 11 of their own hue.

Type

Reviewed

The components default to the system stack (-apple-system): 14/20 at size 2, 12/16 at size 1 and 16/24 at size 3, with 500 on buttons, badges and the active tab. The docs site sets Untitled Sans on its own chrome and Söhne Mono for code. Headings are 500 with tight tracking, such as 24/30 at -0.3px.

Shape

Reviewed

radius="medium" by default: buttons, fields, selects and menu rows have 3px corners at size 1, 4px at size 2 and 6px at size 3. Cards have 8px, dialogs 12px. Switches and progress bars are pills. The radius prop (none to full) scales every corner together.

Spacing

Reviewed

Three control sizes: 24px (size 1), 32px with 12px sides (size 2, the default) and 40px (size 3). Tabs are 40px, menu rows 32px with 12px sides. Dialogs pad 24px and cards 12px. The scaling prop resizes everything from 90% to 110%.

Elevation

Reviewed

Edges are inset shadows, not borders: a 1px slate-a7 ring on fields and the surface and outline variants. Menus, selects and dialogs share one stack: a 1px ring plus 0 12px 60px at 15% and a tighter 12px drop. The classic variants add a small raised shadow and a soft gradient. The dialog scrim is black at 40% (60% in dark). Focus is a 2px indigo-8 ring, #8da4ef (#435db1 in dark).

#Components

One section per component: its variants and sizes by name, its states, and how the product uses it.

21 of 29 with captured data · 18 written

button

Reviewed

Six variants of one button, each in any color: solid, soft, surface, outline, classic and ghost, at sizes 1 to 4. The default is solid indigo at size 2. The docs' own controls (prop info, copy) are ghost buttons.

Variants6 found, 6 named by the product

Loading…

ghostclass×141No fill, #60646c text: the docs' Prop description buttons, the copy buttons.

Loading…

softclass×45Edit profile: #edf2fe under #3658c7; #18244a under #9eb1ff in dark.

Loading…

solidclass×18Bookmark: indigo-9 #3e63dd with white text, in both modes.

Loading…

classicclass×7The solid fill with a raised shadow and a top highlight gradient.

Loading…

outlineclass×7White with a 1px #8da4ef ring and #3a5bc7 text.

Loading…

surfaceclass×7#f7f9ff with a 1px indigo-a7 ring and indigo text.

Sizes3 found, 3 named by the product

SizeHeightPaddingTextIconSeen
1class24px, 3px corners, 12px text.23px4px14px15x15×121
2class32px, 12px sides, 4px corners: the default.32px12px14px—×82
3class40px, 6px corners, 16px text.32px8px16px16x16×22

StatesOf its first variant, ghost · 1.

Loading…

rest

Loading…

pressed

Loading…

focus

Loading…

disabled · set by the capture

badge

Reviewed

Badge has solid, soft, surface and outline, in any color, at sizes 1 to 3. Size 1 is 20px with 6px sides, 12px text at 500 and 3px corners.

Variants4 found, 4 named by the product

Loading…

solidclass×26Here in gray with highContrast: #1c2024 under #fcfcfd (Themes, New).

Loading…

outlineclass×3New: a 1px ring in high-contrast gray.

Loading…

softclass×3In progress: orange #ffefd6 under #cc4e00.

Loading…

surfaceclass×3New: white with a 1px #d9d9e0 ring.

Sizes2 found, 1 named by the product

SizeHeightPaddingTextIconSeen
1class20px, 6px sides, 12px.20px6px12px—×15
unnameds-1ht05524px, 10px sides, 14px: the docs header's Themes pill.24px10px14px—×20

StatesOf its first variant, solid.

Loading…

rest

tabs

Reviewed

tab

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×18Documents: #60646c at 400; the active tab turns ink at 500.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-y1v65032px, 12px text: size 1.32px4px12px—×2
unnameds-v9g0m540px, 8px sides, 14px: size 2.40px8px14px—×16

StatesOf its first variant, default.

Loading…

rest

Loading…

selected

Loading…

disabled · set by the capture

tablist

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×9A 1px inset rule under the row, slate-a5.

Sizes1 found, 1 named by the product

SizeHeightPaddingTextIconSeen
2class————×9

StatesOf its first variant, default · 2.

Loading…

rest

segmented-control

Reviewed

segment

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×23Drafts: ink at 400; the chosen one sits on a white indicator.

Sizes3 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-6w8xcl24px.24px0px16px—×2
unnameds-2wcn4432px.32px0px16px—×19
unnameds-09221v40px.40px0px16px—×2

StatesOf its first variant, default.

Loading…

rest

Loading…

disabled · set by the capture

segmented

Variants3 found, 1 named by the product

Loading…

surfaceclass×11Inbox, Drafts, Sent: a gray-a3 track, #f0f0f3 on white.

Loading…

indicatornamed by AI×10The chosen segment's white pill: a 1px ring under a faint shadow.

Loading…

unnamedv-tjpcpa×1A second indicator look, with a 1px ring and a deeper shadow.

Sizes3 found, 3 named by the product

SizeHeightPaddingTextIconSeen
1class24px.24px0px16px—×2
2class32px.30px0px16px—×18
3class40px.40px0px16px—×2

StatesOf its first variant, surface · 2.

Loading…

rest

text-field

Reviewed

TextField has surface, classic and soft. Surface is the default: white at 85% with a 1px slate-a7 ring, 4px corners, 32px at size 2 with an 8px text inset. Focus adds the 2px indigo-8 ring.

Variants5 found, 2 named by the product

Loading…

surfaceclass×15Search the docs…: #cdced6 ring on white.

Loading…

classicclass×1A lighter ring with a faint inner shadow.

Loading…

softtheir docs×2Indigo-3 #edf2fe under indigo-12 text, no ring.

Loading…

unnamedv-n9h9vb×1The soft field in green.

Loading…

unnamedv-x6mpw2×1The soft field in red.

Sizes3 found, 3 named by the product

SizeHeightPaddingTextIconSeen
1class24px, 12px text.24px1px12px—×2
2class32px.32px1px14px—×16
3class40px, 16px text.40px1px16px—×2

StatesOf its first variant, surface · 2.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

combobox

Reviewed

Variants4 found, 4 named by the product

Loading…

surfaceclass×16Select's trigger, Apple: the field's ring and a chevron.

Loading…

softclass×5Indigo-3 #edf2fe under indigo-12 text.

Loading…

classicclass×2A ring with a #f9f9fb to #fcfcfd gradient.

Loading…

ghostclass×1No fill: 28px, indigo text.

Sizes3 found, 3 named by the product

SizeHeightPaddingTextIconSeen
1class24px, 8px sides.24px8px12px9x9×2
2class32px, 12px sides.32px12px14px9x9×21
3class40px, 16px sides.40px16px16px11x11×1

StatesOf its first variant, surface · 2.

Loading…

rest

Loading…

focus

Loading…

disabled · set by the capture

checkbox

Reviewed

Variants3 found, 3 named by the product

Loading…

surfaceclass×216px, 3px corners, a 1px slate-a7 ring; indigo-9 when checked.

Loading…

classicclass×1A ring with extra inset shading.

Loading…

softclass×1#d2deff (indigo-a5), no ring.

Sizes1 found, 1 named by the product

SizeHeightPaddingTextIconSeen
2class16px.16px0px16px—×4

StatesOf its first variant, surface · 2.

Loading…

rest

Loading…

focus

Loading…

selected

Loading…

disabled · set by the capture

radio-group

Reviewed

Variants3 found, 3 named by the product

Loading…

surfaceclass×716px, a 1px slate-a7 ring.

Loading…

classicclass×1A ring with extra inset shading.

Loading…

softclass×1#e1e9ff (indigo-a4), no ring.

Sizes3 found, 3 named by the product

SizeHeightPaddingTextIconSeen
2class16px.16px0px14px—×7
1class20px box, 14px text.20px0px14px—×1
3class26px box, 18px text.26px0px18px—×1

StatesOf its first variant, surface · 2.

Loading…

rest

Loading…

selected

Loading…

disabled

switch

Reviewed

Variants3 found, 3 named by the product

Loading…

surfaceclass×4A #f0f0f3 pill with a 1px ring; on, it fills indigo-9.

Loading…

classicclass×1A #e8e8ec track with a 1px ring.

Loading…

softclass×1A #f0f0f3 track, no ring.

Sizes2 found, 2 named by the product

SizeHeightPaddingTextIconSeen
1class16px tall.16px0px14px—×3
2class20px tall, 35px wide.20px0px16px—×3

StatesOf its first variant, surface · 1.

Loading…

rest

Loading…

pressed

Loading…

focus

Loading…

disabled · set by the capture

menu

Reviewed

Variants2 found, 0 named by the product

Loading…

defaultnamed by AI×30Edit ⌘ E: ink at 400; the highlighted row fills indigo-9 with white text.

Loading…

redtheir docs×4Delete ⌘ ⌫: red-11 #ce2c31, highlighted in #e5484d.

Sizes2 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-p699g924px, 8px sides, 12px: size 1.24px8px12px—×4
unnameds-7ilnvj32px, 12px sides: size 2.32px12px14px—×30

StatesOf its first variant, default.

Loading…

rest

Loading…

hover

Loading…

disabled · set by the capture

list-box

Reviewed

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×9Orange in the Select's list: highlighted like a menu row.

Sizes3 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-k8z6bd24px, 12px.24px20px12px—×1
unnameds-3d7wuc32px, 24px sides for the check.32px24px14px—×7
unnameds-u7xqqy32px, 16px.32px24px16px—×1

StatesOf its first variant, default.

Loading…

rest

Loading…

hover

Loading…

disabled

card

Reviewed

Card has surface, classic and ghost. Surface is the default: the translucent panel with a 1px ring and 8px corners, 12px padding at size 1.

Variants3 found, 3 named by the product

Loading…

surfaceclass×176Example frames and cards: #f7f9ff here, with a 1px #d9dbe6 ring.

Loading…

classicclass×1Quick start: white with a 1px #edeff3 ring; a drop shadow in dark.

Loading…

outlineclass×1The outline Callout (You will need admin privileges…): a 1px indigo ring.

Sizes3 found, 3 named by the product

SizeHeightPaddingTextIconSeen
1class12px padding.————×154
2class16px padding.———15x15×29
3class24px padding, 11px corners.————×1

StatesOf its first variant, surface · 1.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-t93q83the Text trim demo's boxes
  • v-jduyr4the Text trim demo's boxes

avatar

Reviewed

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×1A 40px photo avatar.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-s6ssyi40px.40px———×1

StatesOf its first variant, default.

Loading…

rest

progress-bar

Reviewed

Variants1 found, 1 named by the product

Loading…

surfaceclass×3A 6px #f0f0f3 pill with a 1px ring, filled in indigo-9.

Sizes1 found, 1 named by the product

SizeHeightPaddingTextIconSeen
2class6px.6px———×3

StatesOf its first variant, surface · 2.

Loading…

rest

separator

Reviewed

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×35A 1px slate-a6 rule, #d9d9e0; #35393f in dark.

Sizes1 found, 1 named by the product

SizeHeightPaddingTextIconSeen
2class————×115

StatesOf its first variant, default · 2.

Loading…

rest

Left outLooks the capture put here that are not this component.

  • v-hz4x9pthe docs header's divider
  • v-17wxjwa blade of the loading Spinner, caught mid-fade
  • v-7pfjo2a blade of the loading Spinner, caught mid-fade
  • v-9y09lwa blade of the loading Spinner, caught mid-fade
  • v-xnxr7la blade of the loading Spinner, caught mid-fade
  • v-hwut5va blade of the loading Spinner, caught mid-fade
  • v-nn6cfha blade of the loading Spinner, caught mid-fade
  • v-ue4dzua blade of the loading Spinner, caught mid-fade
  • v-zs2c5va blade of the loading Spinner, caught mid-fade
  • v-5a0665a blade of the loading Spinner, caught mid-fade
  • v-h7mwkga blade of the loading Spinner, caught mid-fade
  • v-mf0ufca blade of the loading Spinner, caught mid-fade
  • v-swjgjia blade of the loading Spinner, caught mid-fade
  • v-2z0jdia blade of the loading Spinner, caught mid-fade
  • v-7e4r4fa blade of the loading Spinner, caught mid-fade
  • v-g13xgxa blade of the loading Spinner, caught mid-fade
  • v-piv0ina blade of the loading Spinner, caught mid-fade

kbd

Reviewed

Variants1 found, 1 named by the product

Loading…

classicclass×11Shift + Tab: #fcfcfd keycaps with a 0.6px ring and a soft inner shadow.

Sizes10 found, 9 named by the product · 6 shown, named first

SizeHeightPaddingTextIconSeen
1class17px.16.8px4.8px9.6px—×1
2class19.6px5.6px11.2px—×1
3class22.4px6.4px12.8px—×1
4class25.2px7.2px14.4px—×1
5class28px.28px8px16px—×1
6class33.6px9.6px19.2px—×1

StatesOf its first variant, classic.

Loading…

rest

field

Reviewed

Variants1 found, 0 named by the product

Loading…

defaultnamed by AI×1This is a label element.: Text as a label, 16/24 in ink.

Sizes1 found, 0 named by the product

SizeHeightPaddingTextIconSeen
unnameds-2st6k9——16px—×1

StatesOf its first variant, default.

Loading…

rest