Use the built-in font loader
Next.js documents next/font as its built-in font optimization module. The Google and local loaders are imported from next/font/google and next/font/local respectively. The generated font object supplies a className that is applied to the intended element. This is an application integration workflow, not the name of a particular font or a generator for decorative Unicode characters.
Understand self-hosting and scope
The official guide explains that Google font files are served with the application’s static assets, so a visitor’s browser does not request those fonts from Google. It also describes font scope: applying the class in the root layout makes it available across the app. The learning guide explains build-time acquisition and the layout changes that can occur when fallback and final font dimensions differ.
Describe the actual local resource
For a local font, the documentation uses a src path; multiple files can be supplied with their corresponding weights and styles. A non-variable Google family requires a weight selection in the documented setup. Record the actual file and intended styles before configuring a loader. A local path does not establish distribution permission, and a family name alone does not identify every file needed for bold or italic text.
Choose typography in the finished page
Compare the longest heading, navigation labels and a full paragraph using the actual intended text. Keep the font configuration close to a clear design purpose rather than adding families without a role. The website font guide covers broader choices, while font file types explains resource terminology. Consult the Next.js documentation for the router and version used by the project before adapting its examples.
Your questions, answered.
Is next/font itself a typeface?
No. It is a Next.js module used to load and optimize chosen font resources.
Does a visitor need to contact Google for a font loaded by next/font/google?
The official guide says the resulting font assets are self-hosted with the application rather than requested from Google by the visitor’s browser.
Sources & background
Sources supporting this page’s explanations. Practical examples are our editorial suggestions.