Starting with Next.js 13.2, next/font
is built-in to Next.js and no longer needs to be installed. The @next/font
package will be removed in Next.js 14.
Run the built-in-next-font
codemod to automatically uninstall @next/font
and change @next/font
imports to next/font
:
npx @next/codemod built-in-next-font .