Does MUI v5 provides example of theme or styles that they are using for their home page? - reactjs

MUI team have very attractive example in their homepage
And I want to know does they provide some of examples what styling or theme that they are using? Do they have some codesandbox something? I tried a lot of example but always show default material style!

MUI is an open source project, including its docs website. You can see the project on Github here. The components in the landing page are customized in this file.

You can access the MUI theme object directly in the mui.com console

Related

How to use desktopModeMediaQuery from MUI DatePicker

I like to know to use desktopModeMediaQuery from material ui.
The only link I found was this Material ui resposive date picker.
This also doesn't include how to use desktopModeMediaQuery.
Do I have to import it from mui? or the document says This can be customized with the desktopModeMediaQuery prop. so I can just have this as a prop and I don't have to import it?
How can I use this prop? or is this for stylying?
If you can provide any example of how to use it, I really appreciate it.
I want to display the PC version of DatePicker on the mobile screen.
The doc link for desktopModeMediaQuery
Having DesktopDatePicker component works both on the PC and mobile.
mui.com/x/react-date-pickers/date-picker/#responsiveness

Material UI version 5.10.9 - The Box component overrides the custom theme

recently I am using version 5 of Material UI in React, when I made a custom theme and added my own palette. I noticed that the Box component follows its default Material UI theme and overrides my custom theme, but the other components follow the custom theme. Can someone explain whether this behavior is Material UI itself or is there a bug?
After searching several times, I realized that I was using the ThemeProvider component in #emotion/react, but I should have used the ThemeProvider component in #mui/material. By doing this, the bug related to the Box component was fixed. Thanks for the article from Sahan Amarsha.
Article link:
https://levelup.gitconnected.com/lets-setup-a-react-typescript-project-with-material-ui-react-router-3d7ea8cb5596

How can I style a React component that does not use Material UI elements with Material UIs style system?

Material UIs (MUI's) documentation is perfectly broken here: At
https://mui.com/system/getting-started/overview/#all-inclusive
the last line reads:
"See ->Advanced for details on how to use MUI System with non-MUI components."
Yet the link to Advanced is dead as of today (404). Is there a way to use the style system outside of MUIs components?
I think that's the Custom Components page, it was fixed here but not live yet I guess

React Material UI: How to use material-ui platinum themes?

I am trying to use one of the platinum themes from React Material-UI, link below:
https://material-ui.com/premium-themes/
but I can't find instructions for how to use them in my application. Can someone explain how can I use a platinum theme in my React application?
To use one of the free premium themes, just click the link to go to the "Source Code" and then you can look at the code for the example. For instance, for the Paperbase theme you can find the source code for the theme here: https://github.com/mui-org/material-ui/blob/master/docs/src/pages/premium-themes/paperbase/Paperbase.js.
Just copy the parts you want to leverage into your own project and then you can modify it as desired.

How to use animated material ui icons in React

https://material.io/design/iconography/animated-icons.html
I attached link above how can i integrated icon in my react application there is not have any code.
I think it is not supported out of the box by material-ui, but you can use css transitions to accomplish it.
Maybe this lib can solve it for you or at least inspire your implementation?
https://mui.wertarbyte.com/#material-ui-toggle-icon
Their implementation looks pretty nice, well documented and MIT: https://github.com/TeamWertarbyte/material-ui-toggle-icon
Google Material does not provide an implementation of their icons with animations. They do; however, provide a specification/guideline for animation with Material Icons.
In addition; you can download the SVG Icons here as needed: https://material.io/tools/icons/
and import into your code.

Resources