Source Code Pro
Custom web fontThe quick brown fox jumps over the lazy dog
Weights loaded (2)
CSS to use Source Code Pro
font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, monospace;
The typeface on react.dev is Source Code Pro, Optimistic Display and Optimistic Text, loaded across 47 @font-face declarations. Every font family, weight and source on this page is read straight from the live CSS — no image guessing, no machine learning, just the rules the browser used.
The quick brown fox jumps over the lazy dog
font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, monospace;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Display', Georgia, 'Times New Roman', serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Text', Georgia, 'Times New Roman', serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Display W Bd', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Display W Md', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Display W SBd', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Text W Bd', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Text W It', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Text W Md', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
The quick brown fox jumps over the lazy dog
font-family: 'Optimistic Text W Rg', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
Get Font Info inspected the homepage of react.dev and parsed 1 stylesheet totalling 106.0 KB. Inside those stylesheets we found 47 @font-face declarations — the rules a browser uses to download and register a custom typeface. The primary typefaces are served from custom web font, and 9 CSS rules reference them across the page.
Open the live inspector and hover any text on react.dev to see the exact font, weight, size and line-height for that element.
Open live font inspector for react.devreact.dev uses Source Code Pro, Optimistic Display and Optimistic Text as its primary typefaces. These fonts are loaded from a self-hosted webfont and applied across 9 CSS rules on the homepage.
react.dev loads its fonts from a self-hosted webfont. Get Font Info detected 47 @font-face declarations across 1 stylesheet on the live page.
react.dev loads Source Code Pro in 4 weights: 400, 500, 600, 700. If you want to match the look, request the same weights from your font host so you only ship what's actually used.
Yes — once you know the font name, you can load it from the same source. If Source Code Pro isn't a fit (licensing, weight selection, look-and-feel), close alternatives include Inter, Manrope and DM Sans. Use the CSS snippet on this page as a starting point.
These fonts are self-hosted webfonts. They may be licensed commercially from a type foundry, custom-made for the brand, or freely available — you would need to identify the typeface and check its license at the foundry.
Compare the typography on react.dev with how other well-known sites load and use their fonts.
This page lists the fonts loaded by the homepage of react.dev. Get Font Info reads the live CSS — every @font-face rule, every font-family declaration — so you see the exact fonts the browser used, not an image-based guess.
More guides: find a font used on a website, identify fonts from a website, what typeface is this website using, or font checker.