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 view transitions and activity api tutorial

React View Transitions and Activity API tutorial: Animate an AirBnB clone

Explore the new React ViewTransition, addTransitionType, and Activity APIs by building an AirBnB clone project.

Emmanuel John
May 9, 2025 ⋅ 8 min read

gRPC vs REST: Choosing the best API design approach

Compare gRPC vs REST to understand differences in performance, efficiency, and architecture for building modern APIs.

Alexander Godwin
May 9, 2025 ⋅ 6 min read
Why Go wasn’t the right choice for the TypeScript compiler

Why Go wasn’t the right choice for the TypeScript compiler

The switch to Go may be a pragmatic move in the short term, but it risks alienating the very developers who built the tools that made TypeScript indispensable in the first place.

Muhammed Ali
May 8, 2025 ⋅ 4 min read
how and when to use type casting in TypeScript

How and when to use type casting in TypeScript

Discover the basics and advanced use cases of type casting, how and why to use it to fix type mismatches, and gain some clarity on casting vs. assertion.

Paul Akinyemi
May 8, 2025 ⋅ 14 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