Fonts

How fonts work in GHDS — token-driven stacks for English and Korean, and how to load the self-hosted web fonts via Fontsource.

GHDS is built for products that ship in English and Korean. Font choices are a design value, so every font-family stack lives in @ghds/tokens — never hardcoded in a component. This page explains the stack composition, the chosen typefaces, and exactly how to load them in your app.

How font stacks work

A font-family CSS value is an ordered fallback list. The browser matches each glyph independently against the list, top to bottom, and uses the first family that has a glyph for that character. This means a single stack can render Latin text in one face and Korean text in another, in the same element, with no JavaScript locale switching.

GHDS stacks follow this order:

Latin display → Korean display → Latin body → Korean body → system → generic

So "Hello, 안녕하세요" set in ref.fontFamily.sans renders Hello, in Nunito Sans Variable and 안녕하세요 in Noto Sans KR Variable automatically.

The typefaces

RoleLatin faceKorean faceStyle
Sketch / display (headings)Gochi HandGaeguHand-drawn — the GHDS identity
Body / UI (sans)Nunito Sans VariableNoto Sans KR VariableWarm, legible, trustworthy
Code (mono)system monoNoto Sans KR Variable (fallback)Precise, monospaced

Why these faces

About Pretendard. Pretendard is the de-facto Korean sans in Korean product design, but the Fontsource package (@fontsource/pretendard) only ships the Latin subset — there is no Korean subset available. GHDS keeps Pretendard in the stack for its Latin glyphs (it pairs well with Nunito Sans Variable) and uses Noto Sans KR Variable for Korean glyphs. If you self-host the full Pretendard .woff2 (with Korean glyphs) from the Pretendard releases, Korean body text will render in Pretendard instead.

Alternatives. If a more neutral Latin face is preferred, Inter (@fontsource-variable/inter) can replace Nunito Sans Variable. Change the ref.fontFamily value in @ghds/tokens and update your imports — the consumer contract stays the same.

The token stacks

These are defined in @ghds/tokens at the ref tier and consumed via sys.typography.*.fontFamily.

/* ref.fontFamily.sketch — headings/titles */
'Gochi Hand', 'Gaegu', 'Comic Sans MS', cursive

/* ref.fontFamily.sans — body/label/caption */
'Nunito Sans Variable', 'Pretendard', 'Noto Sans KR Variable', system-ui, -apple-system,
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif

/* ref.fontFamily.mono — code */
ui-monospace, 'SFMono-Regular', 'Menlo', 'Noto Sans KR Variable', monospace

For Korean glyphs in sans, the resolution is: Nunito Sans Variable (no Korean) → Pretendard (Latin only via fontsource) → Noto Sans KR Variable (loaded, has Korean) ✓.

Loading the fonts in your app

@ghds/tokens declares the stack (the preferred order). Loading the actual web-font files is done by the consuming app via Fontsource — self-hosted, no external CDN, privacy-friendly, and version-locked. The tokens package stays dependency-free.

1. Install the Fontsource packages

pnpm add @fontsource-variable/nunito-sans @fontsource-variable/noto-sans-kr @fontsource/pretendard @fontsource/gochi-hand @fontsource/gaegu
FacePackageWeights
Gochi Hand (display, Latin)@fontsource/gochi-hand400
Gaegu (display, Korean)@fontsource/gaegu400
Nunito Sans Variable (body, Latin)@fontsource-variable/nunito-sansvariable (200–1000)
Noto Sans KR Variable (body, Korean)@fontsource-variable/noto-sans-krvariable (100–900)
Pretendard (body, Latin-only)@fontsource/pretendard400 / 500 / 700

2. Import the CSS at your app’s entry point

Import the @font-face CSS alongside @ghds/tokens/css. Import only the weights you use to keep the payload small.

import '@ghds/tokens/css';

// Sketch / display
import '@fontsource/gochi-hand/400.css';
import '@fontsource/gaegu/400.css';

// Body / UI
import '@fontsource-variable/nunito-sans/wght.css';
import '@fontsource-variable/noto-sans-kr/wght.css';
import '@fontsource/pretendard/400.css';
import '@fontsource/pretendard/500.css';
import '@fontsource/pretendard/700.css';

The weights 400 / 500 / 700 for Pretendard match ref.fontWeight.regular / .medium / .bold in @ghds/tokens. Nunito Sans Variable and Noto Sans KR Variable are single variable files covering all weights.

3. That’s it — components pick up the fonts automatically

Every GHDS component reads font-family from the --sys-typography-* CSS variables emitted by @ghds/tokens/css. Once the @font-face rules are imported, the named faces in the stack resolve to your self-hosted files. No per-component font configuration is needed.

Weight & payload guidance

React Native

React Native does not support CSS comma-separated font stacks, and a custom font has one file per weight. The @ghds/tokens/rn build converts each web stack to a face table: per platform, one weight-specific family name for every weight GHDS defines.

TokenWeb stack (CSS)iOSAndroid
ref.fontFamily.sans'Nunito Sans Variable', 'Pretendard', 'Noto Sans KR Variable', …NotoSansKR-Regular / -Medium / -Boldsame as iOS
ref.fontFamily.sketch'Gochi Hand', 'Gaegu', …Gaegu-Regular (400, 500) / Gaegu-Bold (700)same as iOS
ref.fontFamily.monoui-monospace, 'SFMono-Regular', 'Menlo', …Menlo-Regular / Menlo-Boldmonospace

The chosen faces include both Latin and Korean glyphs, so text renders correctly in both languages without per-glyph fallback (which RN cannot do).

The @ghds/react-native theme picks the family for each text variant’s weight on the current platform: heading and title use Gaegu-Bold, body and caption use NotoSansKR-Regular, label uses NotoSansKR-Medium, and code uses Menlo-Regular on iOS and monospace on Android. On iOS and Android the variants set no fontWeight, because the weight is already in the family name. On web (react-native-web) the variants keep fontWeight, so if your web build registers these faces, declare each @font-face under its PostScript name with a matching font-weight descriptor (for example font-weight: 700 for Gaegu-Bold). Otherwise the descriptor defaults to 400 and the browser adds synthetic bold on top of a face that is already bold.

Loading fonts in your app

GHDS does not ship font files; your app loads them. The family names are the fonts’ PostScript names. Name each file after its PostScript name, as Expo recommends, and the same name resolves on both platforms:

FileUsed bySource
NotoSansKR-Regular.ttf, NotoSansKR-Medium.ttfbody, caption, labelNoto Sans KR static files
NotoSansKR-Bold.ttfsans at 700 (optional)same
Gaegu-Bold.ttfheading, titleGaegu
Gaegu-Regular.ttfsketch at 400 (optional)same

Code text needs no file: Menlo is an iOS system font and monospace is Android’s system monospace face.

With the expo-font config plugin (recommended). The plugin embeds the files at build time, so text renders on first frame. Android names each font after its file and iOS after its PostScript name; with the files named as above, both match the tokens.

{
  "expo": {
    "plugins": [
      [
        "expo-font",
        {
          "fonts": [
            "./assets/fonts/NotoSansKR-Regular.ttf",
            "./assets/fonts/NotoSansKR-Medium.ttf",
            "./assets/fonts/NotoSansKR-Bold.ttf",
            "./assets/fonts/Gaegu-Regular.ttf",
            "./assets/fonts/Gaegu-Bold.ttf"
          ]
        }
      ]
    ]
  }
}

At runtime with useFonts (any Expo SDK, Expo Go). Register each file under its family name with the map form:

import { useFonts } from 'expo-font';

const [loaded, error] = useFonts({
  'NotoSansKR-Regular': require('./assets/fonts/NotoSansKR-Regular.ttf'),
  'NotoSansKR-Medium': require('./assets/fonts/NotoSansKR-Medium.ttf'),
  'NotoSansKR-Bold': require('./assets/fonts/NotoSansKR-Bold.ttf'),
  'Gaegu-Regular': require('./assets/fonts/Gaegu-Regular.ttf'),
  'Gaegu-Bold': require('./assets/fonts/Gaegu-Bold.ttf'),
});

Bare React Native. Add module.exports = { assets: ['./assets/fonts'] }; to react-native.config.js, run npx react-native-asset and rebuild both apps.

Check on a device. A family name that does not resolve falls back to the system font without an error. After setting up fonts, check headings, labels and code text on real iOS and Android builds.

See packages/react-native/AGENTS.md for the full setup.

Summary

  1. Font stacks are tokens — they live in @ghds/tokens (ref.fontFamily), not in components.
  2. Stacks are ordered for per-glyph fallback — Latin faces first, Korean faces next.
  3. Loading the web-font files is the consumer’s job, done via Fontsource.
  4. Import the CSS once at your entry point; components pick up the fonts automatically.