Skip to content

claude.md for tailwindcss 4 is outdated - tailwind.config.js is not used anymore #3

@MbBrainz

Description

@MbBrainz

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]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions