Designs react.dev

What font does React use? Optimistic Text and Optimistic Display.

React's website sets its type in Optimistic Text with Optimistic Display headings, on a light #FFFFFF canvas with #23272F text and a #087EA4 accent. Copy the palette and fonts below to build something original in this style with Claude Code, Cursor, Lovable or v0.

  • Optimistic Display

    Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk 0123456789

    Used for
    Headings
    Source
    React's own font, likely licensed
    Buy it from the foundry, or pick a free match.
  • Optimistic Text

    Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk 0123456789

    Used for
    Body
    Source
    React's own font, likely licensed
    Buy it from the foundry, or pick a free match.

React's full design

Every color, text style, spacing value and corner radius, measured from react.dev.

Open the full report

Free, no sign-up

React fonts and type scale

React's website sets body text in Optimistic Text and headings in Optimistic Display. Body text is 20px, section headings 52px and the largest display type 52px, at weight 600. If you can't use Optimistic Text, ask your AI for the closest free match and keep the sizes and weights.

React color codes

React's website uses #FFFFFF (canvas), #23272F (text), #99A1B3 (muted), #087EA4 (accent), #087EA4 (button), and a dark mode built on #23272F.

It also ships a dark mode: canvas #23272F, text #F6F7F9.

How do I build a site that looks like React with AI?

Copy the colors and fonts above into your project's theme, then tell Claude Code, Cursor, Lovable or v0 what you are building. With Siteprint Pro, open the full React report and copy a ready prompt or DESIGN.md that carries the layout, type and motion too. Build something original: keep React's look, not its name, logo or copy.

Measured from react.dev's live page as a browser renders it, at 1440px wide, with the Siteprint extension's scanner, on 25 October 2026. Siteprint is not affiliated with React; names and trademarks belong to their owners.