FREEFirst project with us? Your landing page design is on the house.See the offer

Glossary · Speed

What is font-display?

By Abdul QuadirUpdated Nov 2026
font-displaynoun · Speed

font-display is a CSS setting that controls what visitors see while a web font is loading. The common value, swap, shows a fallback font at once and changes over when the web font arrives.

font-display is a CSS setting that controls what visitors see while a web font is loading. The common value, swap, shows a fallback font at once and changes over when the web font arrives.

font-display, explained

Without it, some browsers hide text briefly while waiting for the font. That is known as a flash of invisible text, and it can make a page look empty on a slow connection.

The main values are auto, block, swap, fallback and optional. Swap always shows the text quickly. Optional lets the browser skip the web font if it is too slow.

Swap has a side effect: when the font changes, text can reflow and cause layout shift. Choosing a fallback with similar sizes, or using size-adjust, reduces that.

Self-hosting and preloading your main font files can help too, since they arrive earlier. Preload only the one or two that matter, or you can slow the page instead.

In our work

How Kookies uses it

This site self-hosts its fonts, preloads the key files and uses font-display swap. We take the same care on client builds where the platform allows it.

FAQs

font-display
questions.

Abdul Quadir
Still have a question?Ask us directly. We reply within a day.
Book a callPick a timehello@kookies.io

Swap is a common default for text. Optional suits sites that value stability over showing the exact font.

It often flags text that stays invisible while fonts load, which font-display can fix.

It often helps, as you control caching and loading. Check the font's licence first.

Your turn

Let's kook
what you krave.

Hi Kookies, I need a built on . I'd love to launch . Reach me at
or book a callSent. We reply within one working day.