|
Download next.js/packages/font/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/font/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/font/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/font/README.md
559 Bytes
| # `@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://nextjs.org/docs/app/building-your-application/optimizing/fonts) | |