I'm building a dashboard layout. On desktop I want a fixed left sidebar (250px), on mobile it should slide in/out as a drawer.
I've tried using hidden and flex breakpoint utilities but can't get the transition to work smoothly. Is there a standard Tailwind pattern for this?
Priya Nair
asked 1 months ago2
Answers23
Upvotes3422
ViewsI want to add a dark mode toggle to my Next.js app using Tailwind's built-in dark mode support. I want to:
What's the correct implementation? Should I use next-themes or roll my own?
Carlos Ribeiro
asked 2 months ago1
Answers103
Upvotes9200
Views