Emblematic
React homepage, desktop
React homepage in dark mode
Dark mode (follows system setting)
React homepage, mobile
Mobile, 390px

Typography

scale ratio 1.375
  • Optimistic Textbody400 500 600 70065%
  • Optimistic Displaydisplay400 60026%
  • Source Code Promono4009%
stylefamilysizeweightlinetracking
displayOptimistic Display52px6001.3750em
titleOptimistic Text15px7001.250em
bodyOptimistic Text20px4001.50em
labelOptimistic Text13px5002.3080em
monoSource Code Pro13.6px4001.7650em
Type scale
Aa11Aa13Aa13.5Aa15Aa17Aa20Aa28Aa32Aa52
Body size
20px / 1.5
Display size
52px
Display tracking
0em
Case
sentence

Color

light scheme
Palette by painted area
Text on bg
14.97:1
Muted on bg
9.32:1
Accent on bg
4.64:1
Dark mode
follows system
Declared accent tokens
  • --docsearch-primary-color#0074A6not on page

Space, shape & depth

Spacing scale (base 4px)
  • 2
  • 4
  • 6
  • 8
  • 10
  • 12
  • 16
  • 20
  • 24
  • 32
  • 40
  • 64
  • 80
  • 128
Corner radii
816pill
Shadows (2)
Borders
regular, 2px
Section padding
113px

Components

exact computed values
button-primary
Learn React
backgroundColor
#087EA4
textColor
#FFFFFF
rounded
9999px
padding
12px 24px
height
47.4px
fontFamily
Optimistic Text
fontSize
17px
fontWeight
700
card
rounded
16px
padding
0px
backgroundColor
#FFFFFF
shadow
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 16px 32px -16px, rgba(0, 0, 0
input
rounded
9999px
height
40px
padding
16px 0px
backgroundColor
#EBECF0

Layout & motion

Container
768px
Grid columns
5
Hero
left-aligned
Navigation
top-sticky+blur
Page height
9,097px
Easing
cubic-bezier(0.4, 0, 0.2, 1)
Durations
100ms 150ms 300ms
Transitions
104
Keyframes
1
Stack
next.js, tailwind, google-tag-manager, vercel

Page sections (11)

section labels are heuristic
  1. React nav section
    01nav
  2. React logos section
    02logos
  3. React hero section
    03heroReact
  4. React code-sample section
    04code sample?Create user interfaces from components
  5. React code-sample section
    05code sample?3 Videos
  6. React code-sample section
    06code sample?5 Videos
  7. React code-sample section
    07code sample?Go full-stack with a framework
  8. React feature-detail section
    08feature detail?Use the best from every platform
  9. React features section
    09features?Vulnerability in React Server Components
  10. React feature-detail section
    10feature detail?Welcome to the React community
  11. React footer section
    11footer

How React compares

Body text
20px: larger than 90% of indexed sites (median 16px).
Largest heading
52px: smaller than 63% of indexed sites (median 60px).
Type scale
1.38×: steeper than 76% of indexed sites (median 1.28×).
Container
768px: narrower than 92% of indexed sites (median 1242px).
Text contrast
15.0:1: lower than 75% of indexed sites (median 17.6:1).
Page length
9,097px: longer than 60% of indexed sites (median 8,217px).
Corner radius
Mostly 16px, shared by 11 of 274 indexed sites (4%).
Optimistic Text
The only site in the index that loads Optimistic Text.
Optimistic Display
The only site in the index that loads Optimistic Display.
Color scheme
Light by default, like 75% of indexed sites. It is one of 49 sites (18%) that switch with the system dark mode setting.

In short

What font does React use?

React uses Optimistic Text for body text. Optimistic Display is used for headings. Source Code Pro is used for code.

What are React's brand colors?

React's website uses a light scheme: background #FFFFFF, surface #EBECF0, text #23272F, muted text #404756 and borders #23272F1A.

How is React's website laid out?

The most common corner radius is 16px, body text is 20px with 1.5 line height, and the page container is 768px wide.

Similar to React