Using Fonts in Next.js (Google Fonts, Local Fonts, Tailwind CSS) @leerob
Using Fonts in Next.js (Google Fonts, Local Fonts, Tailwind CSS)  @leerob
Uploaded November 2022 | Updated December 2026, 3 hours ago
Learn how to use the new & improved font optimization in Next.js 13, for both local and remote fonts from Google. @next/font automatically self-hosts your font files (for better privacy) *and* reduces layout shift by automatically generating a fallback font. It's pretty neat!

Learn more: nextjs.org/docs/basic-features/font-optimization

#nextjs #react
Using Fonts in Next.js (Google Fonts, Local Fonts, Tailwind CSS)Data Visualization & DX (with Amelia Wattenberger)Coding agents, context management, Q&AState Management & More (Redux, React Context, TypeScript) – Learn Next.jsReact 2025 – Embed Iframe + Edit/Delete SitePrevent React server code from running on the clientIntroduction to React 2025Building Online Courses (with Kati Frantz)Exporting & Deployment (Vercel, Netlify) – Learn Next.jsNext.js and Serverless (with Nader Dabit)React 2025 – Authentication on API Routes (Firebase JWT)Keep your React components in the same file
leerob |

Using Fonts in Next.js (Google Fonts, Local Fonts, Tailwind CSS)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER