zachleat/web-font-loading-recipes resource
A bunch of demos for different web font loading strategies. Companion to https://www.zachleat.com/web/comprehensive-webfonts/ observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3242
- days_rel: n/a
- days_push: 1680
- n_releases_24m: 0
Adoption not part of the score
1062 stars · 38 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of HTML demos demonstrating different web font loading strategies, companion to Zach Leatherman's Comprehensive Guide to Font Loading Strategies. It covers recommended methods like font-display: swap and preload, plus experimental and deprecated approaches.
Use cases
- learn how to load web fonts without layout shift
- compare font-display swap vs preload strategies
- avoid flash of invisible text when loading custom fonts
- find code examples for the CSS Font Loading API
- understand FOUT vs FOIT font loading behavior
- pick a web font loading strategy for my website
When to choose
- you are deciding how to load web fonts on a site and want working demo code
- you want to learn the tradeoffs between font loading strategies including anti-patterns
- you need polyfilled vs native CSS Font Loading API examples for broader browser support
When to avoid
- you need a production font loading library rather than educational demos
- you need actively updated examples for the latest browser features
- you are not working with web fonts or frontend performance
Facets
learning-resource · maturity maintenance
developer-tools documentation web-development frontend web-design tutorials browser web-fonts font-loading font-display fout css-font-loading-api preload demos performance web-server
3 sources
- readme: https://github.com/zachleat/web-font-loading-recipes · fetched 2026-08-28 · e453d70eb36e
- homepage: https://www.zachleat.com/web/recipes/ · fetched 2026-08-29 · 37cd5110d08a
- site_page: https://www.zachleat.com/about · fetched 2026-08-29 · 0970046c2042
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| zachleat/web-font-loading-recipes | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="zachleat/web-font-loading-recipes")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem