Radix Themes

Add to your project

DESIGN.md encodes Radix Themes's visual language for AI coding tools. Add it to your project so Claude Code, Cursor, or any agent that reads files can reference it directly.

Quick start

Fetch /raw/design-systems/radix/design-md/DESIGN.md and use it as the design foundation for this project.

Overview

Radix Themes is a pre-styled, accessible component library built on top of Radix Primitives (the headless, unstyled component layer). It provides a complete UI toolkit — components, layout primitives, typography, and theming — that works out of the box with minimal configuration. All components are built on the ARIA-compliant foundations of Radix Primitives.

Radix's defining characteristic is its config-first theming model. Rather than requiring developers to manually specify a token set, the entire theme is derived from a small set of high-level props on the <Theme> component: accent color, gray color, radius, panel background, and scaling. Changing accentColor="indigo" to accentColor="crimson" updates every interactive element in the system consistently. This is a fundamentally different model from Material Design (algorithmic color generation from a source color) or Carbon (manual token specification) or Atlassian (all-semantic token vocabulary).

Key characteristics:

  • Config-first theming: Full visual theme generated from 5 props (accentColor, grayColor, radius, panelBackground, scaling) — not manual token definition
  • Two-axis color model: Every theme has an accent color (27 options) and a gray color (6 options) that are automatically paired; the system handles harmonization
  • Semantic 12-step color scales: Each color is a 12-step scale where step ranges have defined semantic usage (backgrounds, interactive states, borders, solid fills, text) — consistent across all 27+ accent colors
  • CSS variable token system: All theme values are CSS custom properties scoped to .radix-themes, fully accessible and overrideable
  • Cross-component variant system: All components share a consistent variant vocabulary (classic, solid, soft, surface, outline, ghost) with harmonized appearance across the library
  • System font stack default: No custom typeface required; uses OS-native fonts for portability

When to reference this system:

  • Products where the developer wants a complete, coherent UI out of the box without extensive token configuration
  • Reference for a consistent cross-component variant model
  • Systems that need to support many different accent colors with automatic harmonization
  • Web apps (especially React/Next.js) where Radix Primitives are already in use

When not to use as primary reference:

  • Products with strict brand color requirements that don't map to the Radix color scales
  • Native mobile apps — Radix is web/React only
  • Teams that need a full design token vocabulary for design tools (Figma tokens, etc.) — Radix's model is code-first, not token-design-first

Sources

Content typeSourceURL
Getting startedradix-ui.com/themes/docshttps://www.radix-ui.com/themes/docs/overview/getting-started
Theme systemradix-ui.com/themes/docs/themehttps://www.radix-ui.com/themes/docs/theme/overview
Color systemradix-ui.com/themes/docs/theme/colorhttps://www.radix-ui.com/themes/docs/theme/color
Typographyradix-ui.com/themes/docs/theme/typographyhttps://www.radix-ui.com/themes/docs/theme/typography
Spacingradix-ui.com/themes/docs/theme/spacinghttps://www.radix-ui.com/themes/docs/theme/spacing
Radiusradix-ui.com/themes/docs/theme/radiushttps://www.radix-ui.com/themes/docs/theme/radius
Source tokensGitHub radix-ui/themeshttps://github.com/radix-ui/themes/tree/main/packages/radix-ui-themes/src/styles/tokens

Scrape notes: radix-ui.com is a Next.js app that renders successfully with Firecrawl. Each theme page is a single page — one scrape call per page at 1-page limit. Rate limit (3 req/min on free tier) applies; scrapes must be spaced ≥60s apart.