flash of unstyled text
The moment when text first appears in a fallback font and then jumps as the web font loads.
In more detail
The jump counts towards layout shift. Self-hosting, preloading and a size-matched fallback make it small or invisible.
Related terms
- fallback font — The locally installed font shown until a web font loads, or if it fails.
- next/font — The Next.js font module, which downloads fonts at build time, serves them from your own domain and sets up fallbacks that avoid layout shift.
- Cumulative Layout Shift — A Core Web Vitals score measuring how much visible content unexpectedly jumps while a page loads.
Taught in
- Image & Font Optimization: Zero Layout Shift Assets — Next.js 15 & Modern App Router Architecture