Using the new next/font package | NextJs 13 series @hamedbahram
Using the new next/font package | NextJs 13 series  @hamedbahram
Uploaded February 2023 | Updated December 2026, 3 hours ago
How to self-host your fonts using the new next/font package in NextJs 13 to improve your core web vitals by preventing cumulative layout shift that typically happens when loading fonts from external hosting services like google fonts.

πŸ‘‰πŸΌ The Ultimate NextJs Course
πŸ”— hamedbahram.io/courses/nextjs

πŸ‘‰πŸΌ @next/font documentation
πŸ”— nextjs.org/docs/api-reference/next/font

πŸ‘‰πŸΌ What is cumulative layout shift
πŸ”— https://web.dev/cls

CHAPTERS

0:00 Intro
0:30 Getting started
3:00 Cumulative layout shift
3:20 next/font package
5:40 Using custom fonts
6:00 With tailwind
9:04 Outro
Using the new next/font package | NextJs 13 seriesCaching in NextJs ft Delba Oliveira from VercelNeon: Serverless Postgres DatabaseMonetize your API in under 30 minutesProtect your NextJs 13 app using Next-AuthWeb Developer Roadmap 2024Using Stripe API in NextJsWhats coming up in Tailwind V4Build an AI Image App with Next.js, Clerk & PayPalNested Layouts in NextJs 13 Using Route GroupsNextJs 14 Release Notes and UpdatesUsing Prisma with Turborepo
Hamed Bahram |

Using the new next/font package | NextJs 13 series

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER