MUI v4 + TailwindCSS OR MUI v5?
Currently have entire dashboard in MUI v4, do you think will it be good to start mixing tailwind on top of it or just go MUI v5?
8 Replies
what...? 😄
please don't use MUI v4
PLEASE
If you have to use MUI, then go with v5 for sure
MUI is using Emotion as a it's style engine, so not sure how you can hack tailwind into it
Maybe with this... ?
https://github.com/ben-rogerson/twin.macro
GitHub
GitHub - ben-rogerson/twin.macro: 🦹♂️ Twin blends the magic of Tai...
🦹♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, stitches and goober) at build time. - GitHub - ben-rogerson/twin.macro: 🦹♂️ Twin blends the ma...
It might be a good option if you want to quit your career, because you have to work with MUI, and you absolutely need something to spice things up
I dont like the MUI we have now, also the old MUI v4 uses jss. We are just using tailwind for the utility classes (I do want to replace entire MUI with tailwind though but there are more people in team than I can convivence plus the management). MUI v5 seems the only good direction we can take
did a google search, look what I found
Working with Tailwind CSS - MUI Base
Learn how to style MUI Base components with Tailwind CSS.
seems like MUI has a headless version called MUI Base
Seems like a reasonable compromise
Oh