coderef

System fontBaseline · Widely available

The font-family: system-ui CSS declaration uses the operating system default font for text.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 7, 2021. Widely available since Mar 7, 2024.

Browser support

DesktopChrome
1–55Not supported
56+Supportedsince Jan 25, 2017
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–91Not supported
92+Supportedsince Sep 7, 2021
Current: 157
Safari
1–10.1Not supported
11+Supportedsince Sep 19, 2017
Current: 27
MobileChrome Android
18–55Not supported
56+Supportedsince Feb 1, 2017
Current: 155
Firefox Android
4–91Not supported
92+Supportedsince Sep 7, 2021
Current: 157
Safari iOS
1–10.3Not supported
11+Supportedsince Sep 19, 2017
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN — see the links below.

Feature detection

CSS · check before using
@supports (font-family: system-ui) {
  /* styles that rely on font-family: system-ui */
}

/* or in JavaScript */
if (CSS.supports("font-family", "system-ui")) {
  // use it
}