Up and running Storybook with Next.js
Create a Next.js project
Let’s start by creating a Next.js app if you don’t have one already. Otherwise, skip to the setting up storybook step.
npx create-next-app nextjs-storybook

Setup Storybook
Now we can create a new Storybook setup inside a Next.js project using the sb init
script. For…