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

14.2.3 • 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

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @next/font

    Weekly Downloads

    148,757

    Version

    14.2.3

    License

    MIT

    Unpacked Size

    1.99 MB

    Total Files

    74

    Last publish

    Collaborators

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