---
protocol: uifino/design-md@2.0
name: "Radix UI Design System"
slug: "radix-ui.com"
url: "https://www.radix-ui.com"
platform: "website"
category: "DevTools"
fit_for: ["UI Primitives", "Color System Tools", "Design Systems", "Icon Libraries"]
avoid_for: ["Flash-Sale Stores", "Live Streaming Apps", "Grunge Streetwear"]
typography:
  display: "Adobe Text Pro"
  open_alternative: "Source Serif 4 + Inter + JetBrains Mono"
  body: "Untitled Sans"
  mono: "Söhne Mono"
  headline_tracking: "-0.05em"
tokens:
  default_radius: "8px"
  radius_ladder: ["4px", "8px", "12px", "9999px"]
  spacing_px: [4, 8, 12, 16, 24, 32, 48, 64]
colors:
  light:
    canvas: "#FFFFFF"
    surface: "#FCFCFD"
    elevated: "#F0F0F3"
    border: "#E0E1E6"
    ink: "#1C2024"
    muted: "#60646C"
    accent: "#3E63DD"
    accent_foreground: "#FFFFFF"
  dark:
    canvas: "#111113"
    surface: "#18191B"
    elevated: "#212225"
    border: "#2E3135"
    ink: "#EDEEF0"
    muted: "#9BA1A6"
    accent: "#3E63DD"
    accent_foreground: "#FFFFFF"
---

# Radix UI — DESIGN.md Protocol

## 1. Visual Direction & Fit
Soft pastel-washed light canvas pairing 66px Adobe Text Pro editorial serif headlines with accessible primitive anatomy diagrams, 12-step APCA semantic color scales, and 15x15 crisp icons.

- **Best Suited For**: UI Primitives · Color System Tools · Design Systems · Icon Libraries
- **Avoid Using For**: Flash-Sale Stores · Live Streaming Apps · Grunge Streetwear

## 2. Surface & Color Hierarchy
- **Dark Mode**: Canvas `#111113` · Surface `#18191B` · Border `1px solid #2E3135` · Ink `#EDEEF0` · Accent `#3E63DD`
- **Light Mode**: Canvas `#FFFFFF` · Surface `#FCFCFD` · Border `1px solid #E0E1E6` · Ink `#1C2024` · Accent `#3E63DD`

## 3. Typography, Geometry & Spacing
- **Display / Body**: `Adobe Text Pro` (Open-source alternative: `Source Serif 4 + Inter + JetBrains Mono`), tracking `-0.05em`.
- **Monospace**: `Söhne Mono` with `font-variant-numeric: tabular-nums`.
- **Radius & Rhythm**: Default radius `8px` (ladder: 4px, 8px, 12px, 9999px), spacing `4px · 8px · 12px · 16px · 24px · 32px · 48px · 64px`.

## 4. Measured Live DOM Audit

### Measured Color Area Share
| Role | CSS Variable | Hex | Share |
| :--- | :--- | :--- | :--- |
| App Canvas (Slate 1) | `--radix-slate-1` | `#FFFFFF` | 70% |
| Subtle Surface (Slate 2) | `--radix-slate-2` | `#FCFCFD` | 20% |
| UI Element Bg (Slate 3) | `--radix-slate-3` | `#F0F0F3` | 4% |
| Subtle Border (Slate 6) | `--radix-slate-6` | `#E0E1E6` | 2% |
| High-Contrast Ink (Slate 12) | `--radix-slate-12` | `#1C2024` | 2% |
| Muted Copy (Slate 11) | `--radix-slate-11` | `#60646C` | 1% |
| Solid Accent (Indigo 9) | `--radix-indigo-9` | `#3E63DD` | 0.5% |
| Accessible Mint Badge | `--radix-mint-9` | `#00C59C` | 0.5% |

### Measured Typography & Free Open-Source Alternatives
| Level | Detected Font | Free Alternative | Size / Weight / Line-Height / Tracking |
| :--- | :--- | :--- | :--- |
| H1 Editorial Serif | Adobe Text Pro | `Source Serif 4` | 66px · 400 · 60px (0.91) · -3.3px (-0.05em) |
| H2 Section Sans | Untitled Sans | `Inter` | 28px · 500 · 36px (1.29) · -0.42px (-0.015em) |
| Body Lead | Untitled Sans | `Inter` | 20px · 400 · 28px (1.40) · -0.2px (-0.01em) |
| Code & Package | Söhne Mono | `JetBrains Mono` | 13.3px · 400 · 22px (1.65) · -0.2px |

### Component Geometry & Surface Physics (Container Max Width: `1280px`)
- **Slate-12 Primary CTA**: radius `8px` · border `1px solid #1C2024` · shadow `none` · height: 44px · padding: 0 20px
- **Themes Showcase Surface**: radius `12px` · border `1px solid rgba(0, 0, 47, 0.08)` · shadow `0 12px 32px -4px rgba(0, 6, 19, 0.06), 0 2px 6px rgba(0, 6, 19, 0.03)` · background: #FFFFFF
- **Indigo-9 Component Button**: radius `6px` · border `none` · shadow `none` · height: 32px · background: #3E63DD

### Interactive Hover Transitions
- **Slate-12 Primary Button**: Rest (`#1C2024` / border `#1C2024` / text `#FFFFFF`) → Hover (`#2C333B` / border `#2C333B` / text `#FFFFFF`) · `background-color 150ms ease`
- **Indigo-9 Solid Action**: Rest (`#3E63DD` / border `#3E63DD` / text `#FFFFFF`) → Hover (`#3358D4` / border `#3358D4` / text `#FFFFFF`) · `background-color 140ms ease`
- **Soft Tinted Playground CTA**: Rest (`#EDF2FE` / border `#EDF2FE` / text `#1F2D5C`) → Hover (`#E1E9FF` / border `#D2DEFF` / text `#1F2D5C`) · `background-color 150ms ease`

## 5. Multi-Page Section Anatomy

### Page: Themes (`/`)
- **01 Product Switcher Navbar** (Pill Switcher Bar [0%–3.5%]): 48px topbar with Radix + WorkOS lockup left, pill-highlighted Themes/Primitives/Icons/Colors switcher center, and Playground/theme controls right.
- **02 Serif Hero & Top Widgets** (Split + UI Cards [3.53%–55.9%]): 66px Adobe Text Pro serif title + JSX import card on left, paired with live Team, Sign-up, Card, and KPI widgets over a soft pastel wash on right.
- **03 Pricing, Invoice & Todo** (3-Col App Cards [55.88%–100.0%]): Lower showcase zone featuring #3E63DD Indigo switches, 3-column compact pricing, itemized invoice #3463, and interactive checklist.

### Page: Primitives (`/primitives`)
- **01 Product Switcher Navbar** (Pill Switcher Bar [0%–1.0%]): 64px global navigation bar with dark active pill switched to Primitives.
- **02 Primitives Gallery & Cases** (Carousel + Quotes [1.02%–31.5%]): 66px serif hero above pastel-backed Dialog/Dropdown/Popover cards, Node.js & Vercel quotes, and 130M+ serif stat strip.
- **03 Dropdown Anatomy & API** (Radial Callouts [31.5%–82.5%]): Concentric rings radiating 6 accessibility callouts around a live dropdown, followed by a screen-reader preview and dark code pane.
- **04 Adoption, Social & Footer** (3-Card + 4-Col [82.5%–100.0%]): 2-column incremental adoption notes, 3-column community cards, and 4-column clean footer.

### Page: Colors (`/colors`)
- **01 Product Switcher Navbar** (Pill Switcher Bar [0%–2.0%]): 64px global navbar highlighting Colors alongside a Custom palette link.
- **02 Warm Glow Serif Intro** (Left Serif Intro [2.02%–13.8%]): Subtle warm-apricot top wash framing a left-aligned 66px serif headline and dual CTAs.
- **03 12-Step Semantic Matrix** (12-Step Matrix [13.8%–77.5%]): Column-bracketed 1–12 semantic usage ruler above 28 full-spectrum hue scales plus Black/White alpha checkerboard rows.
- **04 APCA Features & Footer** (6-Grid + Footer [77.5%–100.0%]): 3x2 icon grid explaining APCA perceptual contrast, automatic dark mode, and P3 gamut above a 4-column footer.

### Page: Icons (`/icons`)
- **01 Product Switcher Navbar** (Pill Switcher Bar [0%–2.8%]): 64px global navbar highlighting the Icons channel.
- **02 Drafting Lines & Install** (Grid Line Intro [2.83%–18.5%]): Mint and rose 1px drafting guide lines intersecting the 66px serif headline, paired with Figma CTA, npm copy pill, and mint resource card.
- **03 3-Col 15x15 Icon Sheet** (3-Col Icon Sheet [18.5%–80.5%]): Unified white specimen sheet topped by a full-width search bar and organized into 3 clean 15x15 icon columns.
- **04 React Snippet & License** (Code + License [80.5%–100.0%]): Bottom two-column split inside the sheet pairing React JSX usage snippets with SVG download links and MIT license.

## 6. Signature Rules & Anti-AI Slop Guardrails
- **DO**: Contrast classical 66px `Adobe Text Pro` serif display headlines (`line-height: 0.91`, `-0.05em` tight tracking, `#1C2024` Slate-12 ink) against crisp `Untitled Sans` UI controls and `Söhne Mono` snippets.
- **DO**: Assign every color step a strict semantic role following Radix's 12-step scale: Steps 1–2 (`#FFFFFF` / `#FCFCFD`) for backgrounds, Steps 3–5 for interactive states, Steps 6–8 (`#E0E1E6`) for borders, Step 9 (`#3E63DD`) for solid accents, and Steps 11–12 for APCA-compliant text.
- **DO**: Use subtle diagonal pastel washes (rose-to-indigo at < 8% saturation) behind hero stages while keeping floating component cards pure `#FFFFFF` with `1px solid rgba(0,0,47,0.08)` hairlines.
- **DO**: Explain invisible engineering quality (WAI-ARIA keyboard navigation, focus traps, collision-aware popovers) through radial callout diagrams and screen-reader transcript previews.
- **DON'T**: NEVER pair serif headlines with yellowed vintage parchment backgrounds; Radix's signature look sets editorial serif type on cool clinical `#FFFFFF` / `#FCFCFD` software surfaces.
- **DON'T**: NEVER pick arbitrary hex grays or saturated borders; adhere strictly to neutral-tinted Slate steps (`#FCFCFD`, `#F0F0F3`, `#E0E1E6`, `#60646C`, `#1C2024`).
- **DON'T**: NEVER crowd the 15x15 icon specimen sheet with heavy card boxes around every single glyph; group icons cleanly under minimal 12px category headers inside one unified sheet.
- **DON'T**: NEVER use harsh neon drop-shadows on popovers or dialogs; float overlays with multi-layered soft ambient shadows and 1px translucent dark rings.
