menu_book Course Curriculum (Next.js) expand_more
App Router Foundations
Data and Rendering
Server Features
next/font
Learn next/font in Next.js through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Advanced
nextjs-026.ts
typescript
import { Inter } from 'next/font/google';
const inter=Inter({subsets:['latin']});
export default function Root({children}:{children:React.ReactNode}){ return <html className={inter.className}><body>{children}</body></html>; }
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content