Back to Material Ui

Material UI - Gatsby example

examples/material-ui-gatsby/README.md

9.0.01.0 KB
Original Source

Material UI - Gatsby example

How to use

Download the example or clone the repo:

<!-- #target-branch-reference -->
bash
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/material-ui-gatsby
cd material-ui-gatsby

Install it and run:

bash
npm install
npm run develop

The idea behind the example

<!-- #host-reference -->

The project uses Gatsby, which is a static site generator for React. It includes @mui/material and its peer dependencies, including Emotion, the default style engine in Material UI. If you prefer, you can use styled-components instead.

What's next?

<!-- #host-reference -->

You now have a working example project. You can head back to the documentation and continue by browsing the templates section.