8 lines
534 B
Markdown
8 lines
534 B
Markdown
|
|
# `@next/font`
|
||
|
|
|
||
|
|
`@next/font` includes built-in automatic self-hosting for any font file. This means you can optimally load web fonts with zero layout shift, thanks to the underlying CSS size-adjust property used.
|
||
|
|
|
||
|
|
This new font system also allows you to conveniently use all Google Fonts with performance and privacy in mind. CSS and font files are downloaded at build time and self-hosted with the rest of your static assets. No requests are sent to Google by the browser.
|
||
|
|
|
||
|
|
[Read more](https://beta.nextjs.org/docs/optimizing/fonts)
|