Guides / Typography

Font Loading

Use font-display: swap: show system fonts first, swap in the webfont when ready — no blank waiting.

Live demo

Display system font first
font-display: swap

Implementation prompts

Standard

Load webfonts with font-display: swap so system fonts render immediately and swap when ready.

With motion

Load webfonts with font-display: swap. Add a subtle cross-fade when the webfont swaps in.
Design spec entry
### Font Loading (#font-loading)

Category: Typography

Use font-display: swap: show system fonts first, swap in the webfont when ready — no blank waiting.

- Do: Load webfonts with font-display: swap so system fonts render immediately and swap when ready

- Avoid: no blank waiting

With motion: Load webfonts with font-display: swap. Add a subtle cross-fade when the webfont swaps in.

Live demo: https://uidesignmd.com/guides/font-loading/