NextJS:Fonts
lastmod 2026-11-10created 2023-06-302 edits
Next.js Fonts is a feature that optimizes web fonts with the next/font module provided by Next.js. It downloads Google Fonts or local font files at build time and self-hosts them as static assets, so there are no external requests, and it automatically generates size-adjusted fallback fonts to reduce layout shift (CLS) caused by font loading.