netreeb
2 posts


A few years ago, I wrote a blog post showing how to configure web fonts for the best performance.
I'm incredibly happy it's no longer needed because you can just use `next/font` instead 🥳
import { Inter } from 'next/font/google'
const font = Inter({ display: 'swap' })
Vercel@vercel
Learn how to use `next/font` for automatic self-hosting of your custom font, increasing the privacy and performance of your site. vercel.com/blog/nextjs-ne…
English