@next/font
TypeScript icon, indicating that this package has built-in type declarations

13.2.4 • Public • Published

@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

Keywords

none

Install

npm i @next/font

DownloadsWeekly Downloads

293,877

Version

13.2.4

License

MIT

Unpacked Size

2.51 MB

Total Files

68

Last publish

Collaborators

  • matt.straka
  • vercel-release-bot
  • rauchg
  • timneutkens
  • timer