Download the example or clone the repo:
curl https://codeload.github.com/mui-org/material-ui/tar.gz/next | tar -xz --strip=2 material-ui-next/examples/cdn
cd cdn
Run:
open index.html
You can start using MUI with minimal Front-end infrastructure, which is great for prototyping. We discourage using this approach in production, though. The client has to download the entire library, regardless of which components are used, affecting performance and bandwidth usage.
We are providing two Universal Module Definition (UMD) files:
- one for development: https://unpkg.com/@mui/material@latest/umd/material-ui.development.js
- one for production: https://unpkg.com/@mui/material@latest/umd/material-ui.production.min.js
You now have a working example project. You can head back to the documentation, continuing browsing it from the templates section.