You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[material-ui] Add an example project with Next.js (App Router) and Tailwind CSS #40802
Currently, there is no example configuration for next 14 with app-router, Tailwind CSS and MUI in examples.
Also configuring MUI CssBaseline is a bit tricky if we have tailwind in our project
Examples
No response
Motivation
A full new example project also helps with this issue where people are confused with nextjs pages directory setup
Search keywords: tailwindcss nextjs 14 app-router
Reacted by Antoine, Danilo Leal, Karol Miazga, Bill, Simone Cervini, HGGamers, Pankaj Singla, Magnus Crafoord, Habib-Ahmad, Hasan Mothaffar and 5 more
Heya @mostafa-rio, thanks for opening this issue! Having an example project to showcase how to use Material UI with these tools make sense to me — we should get there eventually. In the meantime, I've added the "waiting for 👍" so we gauge the community's need for this, helping us to prioritize it!
@wmtrinu you can check out the forked mui repo on my profile and find the example. I've created the pull request but faced too many conflicts. so I closed the pull request.
I'd like to work on this. Planning to create a material-ui-nextjs-tailwind-ts example with App Router, MUI v6, and Tailwind CSS v4 using CSS layers for proper CssBaseline integration.
Activity
[-]Example project configuration for nextjs 14, mui, and Tailwind CSS[/-]danilo-leal commentedon Jan 29, 2024
Heya @mostafa-rio, thanks for opening this issue! Having an example project to showcase how to use Material UI with these tools make sense to me — we should get there eventually. In the meantime, I've added the "waiting for 👍" so we gauge the community's need for this, helping us to prioritize it!
mostafa-rio commentedon Feb 3, 2024
Thank you @danilo-leal for your response. I've created a pull request that adds an example to the examples folder.
wmtrinu commentedon Feb 4, 2024
I'm also struggling with this, I'll post an update if I'm able to get it to work
wmtrinu commentedon Feb 4, 2024
Well, I was able to get this to work... 🧐
mostafa-rio commentedon Feb 5, 2024
@wmtrinu you can check out the forked mui repo on my profile and find the example. I've created the pull request but faced too many conflicts. so I closed the pull request.
[-][material-ui] Add an example project with Next.js 14 (App Router) and Tailwind CSS[/-]DevLikhith5 commentedon Jun 5, 2026
I'd like to work on this. Planning to create a
material-ui-nextjs-tailwind-tsexample with App Router, MUI v6, and Tailwind CSS v4 using CSS layers for proper CssBaseline integration.joelng25 commentedon Oct 28, 2026
Is this still open for contributions? I would like to pick it up, building on #40906 and #39883.