-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Update the Material UI readme post-v6 #43504
[docs] Update the Material UI readme post-v6 #43504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
1eb9f54
to
7d435f9
Compare
Netlify deploy previewBundle size report |
Reviewing the earlier draft that I submitted, I felt that the Joy UI section was taking up too much space relative to the Material UI section, which should be the main focus. So I reviewed some benchmarks of other popular open source lib readmes and wrote a little more copy about Material UI. Also added a link to MUI X for good measure, because we should be more proactive about directing Material UI users to X. Eventually I think we should link to Toolpad, Pigment CSS, and Base UI as well, but maybe not yet. |
README.md
Outdated
|
||
### Material UI | ||
Material UI's core functionality is extended by [MUI X](https://github.com/mui/mui-x), a suite of complex components for advanced use cases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it wouldn't make sense to extend this a bit more. I could see use explaining Material UI as a library but also a stack, like shadcn.
In v6, this stack is only MUI System + the components.
In v7, this stack could look like this (can be different, only to illustrate our product trends for the last couple of months):
- Base UI (@base-ui/react)
- Material UI System (@material-ui/system), which is a slim wrapper on Pigment CSS, where Pigment CSS supports a runtime with emotion too.
- Pre-designed components following Material Design built on top of those (@material-ui/md3), this package can be in anyone's codebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like this? (Should we mention Pigment CSS and/or Base UI as part of the "stack" currently?)
Material UI's core functionality is extended by MUI X, a suite of complex components for advanced use cases.
MUI System is a set of CSS utilities to help you build custom designs more efficiently. For modern CSS-in-JS with static CSS extraction and React Server Component / Next.js App Router support, try Pigment CSS (currently in beta).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's revisit this topic at another time, once this idea is a little more fleshed out. We can continue to iteratively update the readme content beyond the scope of this PR.
Before: https://github.com/mui/material-ui/blob/eea5079a00bedb68e27f22b7f94d9a71cc97ee1e/README.md
After: https://github.com/samuelsycamore/material-ui/blob/readme-update-late-24/README.md