Skip to content

[docs] Clarify Next.js + Tailwind CSS v3 integration requirements #46176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 22, 2025

Conversation

chaitanyasharma1011
Copy link
Contributor

This PR closes #45019 and updates the Material UI documentation to:

  • Explicitly state that Next.js 13+ users must manually add id="__next" to their tag when using Tailwind CSS

  • Differentiate instructions between Next.js App Router (__next) and Pages Router (root) configurations

  • Add troubleshooting guidance for common style conflict scenarios

  • Update all code examples to reflect modern Next.js practices

  • Include version warnings to prevent setup errors

  • I have followed (at least) the PR section of the contributing guide.

@mui-bot
Copy link

mui-bot commented May 19, 2025

@ZeeshanTamboli ZeeshanTamboli added the docs Improvements or additions to the documentation label May 19, 2025
@ZeeshanTamboli ZeeshanTamboli changed the title [docs] Clarify Next.js + Tailwind CSS integration requirements [docs] Clarify Next.js + Tailwind CSS v3 integration requirements May 22, 2025
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chaitanyasharma1011 Looks good. Thanks for the pull request!

@ZeeshanTamboli ZeeshanTamboli merged commit b0f1112 into mui:master May 22, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs] Documentation error: integration with tailwindcss step 3
3 participants