What it does for you
next/font downloads fonts at build time, self-hosts them with your static assets (no requests to Google), and uses CSS size-adjust to remove the font swap layout shift. One import, zero network privacy concerns, zero CLS from font loading.
Google fonts
Import from next/font/google; pick the family, choose subsets, optionally name a variable to use in CSS variables (Tailwind-friendly).
Local fonts
Drop the woff2 files anywhere in your repo and import from next/font/local. Useful for proprietary or custom fonts.