Sitepeel
react.dev homepage as measured on October 21, 2026

DESIGN.md · measured October 21, 2026

React design system

Dark interface measured from react.dev: Optimistic Display type with Optimistic Text, cyan accents, tonal surfaces and pill-shaped controls.

Background
#23272F
Primary
#58C4DC
Type
Optimistic Display
Corners
Pill
Download DESIGN.md

From react.dev ↗ · 372 elements at 1440×900 and 390×844 · Independent analysis, not affiliated with React

React colors

15 roles measured on the page, grouped by where each color is used.

Surfaces

Cool Graphite#23272Fbackground · --docsearch-hit-backgroundPage background · 5×
Cool Graphite 95%#23272FF2surface-container-lowRaised areas one step from the page · 1×
Dark Blue#343A46surface-containerCards and panels · 4×
Blue 20%#78839B33overlayTranslucent fill for cards and controls · 1×

Text

White#FFFFFFon-surface · --docsearch-footer-backgroundPrimary text and headings · 62×
Snow#F6F7F9on-surface-variantSecondary text · 19×
Mist#EBECF0on-surface-mutedMuted text and metadata · 7×
Blue#99A1B3on-surface-subtleSubtle text and placeholders · 6×
Cool Graphite#23272Fon-primaryText and icons on primary

Accents

Cyan#58C4DCprimaryPrimary buttons and calls to action · 20×
Blue#77B7D7secondaryMost used accent color · 15×
Dark Cyan#0074A6tertiaryBrand accent (CSS variable) · 12×

Borders

White 5%#FFFFFF0DoutlineBorders and dividers · 4×

Status

Orange#DFAB5CwarningWarnings and highlights · 8×
Red#C64640errorErrors and destructive states · 1×

Gradients

React fonts

2 families.

AaOptimistic DisplayWeights 600Optimistic Display, -apple-system, ui-sans-serif, system-ui
AaOptimistic TextWeights 400, 500, 600, 700Optimistic Text, -apple-system, ui-sans-serif, system-ui
headline-displayPage title (h1)React52px · 600 · 1.15
mobile 40px
headline-lgSection headings (h2)The quick brown fox jumps over the lazy dog32px · 600 · 1.25
headline-mdSub-section headingsThe quick brown fox jumps over the lazy dog28px · 600 · 1.38
body-mdBody textThe quick brown fox jumps over the lazy dog20px · 400 · 1.5
body-smSecondary and small textThe quick brown fox jumps over the lazy dog13px · 400 · 1.38
label-lgLarge buttons and tabsThe quick brown fox jumps over the lazy dog17px · 400 · 1.5
label-mdButtons, navigation and labelsThe quick brown fox jumps over the lazy dog15px · 700 · 1.25
label-smSmall labels and badgesThe quick brown fox jumps over the lazy dog13px · 500

Contrast

Text on #23272F

AaAAA15.0:1
AaAAA14.0:1
AaAAA12.7:1
AaAA5.8:1

Spacing

No strict grid · 58% are multiples of 4px

xs2px
sm6px
md16px
lg20px
xl64px
gutter8px

Breakpoints: 374px 640px 680px 768px 1023px 1024px 1280px 1536px 1919px

Shapes

Corner radii, most used first.

full9999px · 172×
sm8px · 112×
md16px · 24×

Depth

Inset
Inset

Components

Rebuilt from the measured CSS.

Learn React
button-primaryFilled button
API Reference
button-ghostText button
Search
input-fieldInput field
Card
cardCard
Inline link
linkInline link

Motion

Interface transitions

0.15s0.1s0.3s
cubic-bezier(0.4, 0, 0.2, 1)cubic-bezier(0.4, 0, 1, 1)

Do’s and don’ts

Rules written from the measurements, so a coding agent stays on style.

  • Use #23272F for the page and lift surfaces in small steps: #23272FF2, #343A46.
  • Keep text in 4 levels: #FFFFFF, #F6F7F9, #EBECF0, #99A1B3.
  • Reserve #58C4DC for primary actions and key highlights.
  • Reuse the measured spacing steps (6px, 16px, 20px).
  • Make buttons and chips fully rounded (9999px); most other elements use 8px corners.
  • Add drop shadows for depth; use hairline rings and tonal surfaces.
  • Introduce new font families beyond Optimistic Display and Optimistic Text.
  • Use #58C4DC for large backgrounds or body text.
  • Make interface transitions slower than 0.3s.
DESIGN.md204 lines

What you can build with it

Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.

Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.

Prompt · DESIGN.md attached

Build a landing page for my product. Follow for every color, font, spacing value, corner and button.

Need more than one page?

Design MD in the Sitepeel tools for Chrome measures pages behind a login, combines several pages into one file and works on any site you open.

Explore the tool

FAQ

Questions

What can I build with the React DESIGN.md?

Any page or component in this style: a landing page, pricing table, dashboard or sign-up form. Your AI coding agent uses the measured colors, Optimistic Display type, spacing, corners and buttons instead of its own defaults.

How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

Is this React’s official design system?

No. Sitepeel measured it from react.dev’s public page on October 21, 2026. It is an independent analysis, not made or approved by React.

Can I use React’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy React’s logo, name, pictures or text.

How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.