Configure next/font with Tailwind in Storybook
May 24, 2024 · 2 min read · Next.js has font optimization option using their package next/font using google fonts and local. When adding a storybook to a Next.js project, you will start to wonder on how we can achieve the same font to be loaded into the storybook itself as well...
SLAlex and 1 more commented