-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Tailwind CSS version 4 is recommended and fully compatible with Next.js 15 and chadcn UI. Tailwind CSS v4 simplifies configuration significantly by eliminating the need for a tailwind.config.js file in many cases, as it can auto-scan the project files. It also introduces a CSS-first configuration experience with native CSS variables and modern CSS features, improving performance and flexibility.
For Chadcn UI (shadcn/ui), there is an official update to support Tailwind CSS v4, including fixes around color function usage in CSS variables, making theme management smoother. The upgrade process includes adjusting the way CSS variables are declared, but overall works seamlessly with Next.js 15 and Tailwind v4.
This setup is well documented and actively used in recent projects and tutorials, confirming that using Tailwind CSS v4 with Next.js 15 and chadcn UI is both recommended and modern practice.[1][2][3][4][5]