Material
@mui/material
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
Component Libraries
react
react-component
mui
material-ui
material design
@mui/material
Component Libraries
javascript
npm
frontend
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @mui/materialCode example
import Button from "@mui/material/Button";
import Stack from "@mui/material/Stack";
export function Example() {
return (
<Stack direction="row" spacing={2}>
<Button variant="contained">Primary</Button>
<Button variant="outlined">Secondary</Button>
</Stack>
);
}Pros & cons
Pros
- Actively maintained by MUI Team
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub