2023-03-01
1511
#nextjs
Elijah Asaolu
161229
109
Mar 1, 2023 ⋅ 5 min read

Building a Next.js app using Tailwind and Storybook

Elijah Asaolu I am a programmer, I have a life.

Recent posts:

react toastify

React-Toastify (2025 update): Setup, styling & real-world use cases

Learn how to use React-Toastify in 2025, from setup to styling and advanced use cases like API notifications, async toasts, and React-Toastify 11 updates.

Chimezie Innocent
Apr 18, 2025 ⋅ 18 min read
5 Best Open Source Tools For Cross-Browser CSS Testing

5 best open source tools for cross-browser CSS testing

Discover open source tools for cross-browser CSS testing like Playwright and BrowserStack to catch rendering errors, inconsistent styling, and more.

Peter Aideloje
Apr 18, 2025 ⋅ 11 min read
react suspense data fetching

How to handle data fetching with React Suspense

With the introduction of React Suspense, handling asynchronous operations like data fetching has become more efficient and declarative.

Ovie Okeh
Apr 18, 2025 ⋅ 10 min read
Use TypeScript Instead Of Python For ETL Pipelines

Use TypeScript instead of Python for ETL pipelines

Build a TypeScript ETL pipeline that extracts, transforms, and loads data using Prisma, node-cron, and modern async/await practices.

Muhammed Ali
Apr 17, 2025 ⋅ 6 min read
View all posts

4 Replies to "Building a Next.js app using Tailwind and Storybook"

  1. Hi Elijah!

    My name is Valentin and I am one of the Storybook maintainers! 🖖

    I‘ve just read your article and it is amazing! Thank you so much for wrapping up, how to use Storybook with Next.js and Tailwind in Storybook 6.5!

    Did you know that the Storybook v7.0 release is around the corner? Check out the beta right now! It has improved the support for Next.js tremendously by even supporting Next.js components like ‘next/image‘ or local and Google fonts from ‘next/font’!

    If you want to write another article for Storybook 7 or you even want to update this one, I would be happy to help. Reach out if you want on the Storybook Discord Channel!

  2. Thanks !! I was struggling to install storybook in my next js + Tailwind app and this article really helped me to achieve it !

    Great work 🙂

  3. When trying to update the ‘.stories/preview.js’ file, I am getting an error on the tag and all tailwind css are not applied in the storybook
    Any help?

Leave a Reply