Which Material UI is supported?
I wanted to confirm which Material UI version is supported. Thanks!
3 Replies
Hi @palante. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Refine currently supports both Material UI v5 and v6, but the compatibility depends on the versions of the Refine packages you are using:
- For
@refinedev/mui
version 5.x.x, you should use Material UI v5.x.x.
- For @refinedev/mui
version 6.x.x, you should use Material UI v6.x.x.
It's important to align the versions of @refinedev/mui
and Material UI to avoid dependency issues. The same applies to related packages like @mui/x-data-grid
and others. You can find a detailed compatibility table in the migration guide:
| @refinedev/mui | @mui/material | @mui/x-data-grid |
| -------------- | ------------- | ---------------- |
| 5.x.x | 5.x.x | 6.x.x |
| 6.x.x | 6.x.x | 7.x.x |
For more details and the latest updates, refer to the Material UI v5 to v6 migration guide and the list of supported packages.
If you are using other Refine packages like @refinedev/inferencer
, make sure their versions are also compatible with your chosen Material UI version, as there have been reports of dependency conflicts when mixing versions not officially supported yet. If you encounter such issues, it's recommended to use Material UI v5 until all packages are fully updated for v6 support Problem with default versions for mui & inferencer.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@313327544310956043> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
rare-sapphireOP•7d ago
What about version 7? Thanks!