Skip to content

[docs] TailwindCSS v4 integration #45096

@HasanMothaffar

Description

@HasanMothaffar

Related page

https://mui.com/material-ui/integrations/interoperability/#tailwind-css

Kind of issue

Docs section on TailwindCSS integration with MUI is out of date

Issue description

TailwindCSS released a new version recently, but the docs show integration guide with an older version.

Context

With the release of TailwindCSS v4, many styles coming from utility classes such as m-2 are not being applied correctly. I assume this is because of improper integration of the new version with MUI. Could we please update the integration info to cover tailwindcss v4 with MUI?

(Assumption, could be wrong: I think utility classes are not being applied because of cascade errors related to using CSS layers. Utility classes reside in @layer utilities, whereas MUI components such as Button have inline styles)

Search keywords: tailwindcss v4

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already exists.support: docs-feedbackFeedback from documentation page.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions