@mab/gatsby-material-ui-components
TypeScript icon, indicating that this package has built-in type declarations

5.3.0 • Public • Published

gatsby-material-ui-components

Material-UI components for Gatsby

The components are part of the gatsby-theme-material-ui

Install

// with npm
npm install gatsby-material-ui-components @mui/material

// with yarn
yarn add gatsby-material-ui-components @mui/material

How to use

import React from "react";
import { Typography } from "@mui/material";
//import { Link } from "gatsby"
import { Link } from "gatsby-material-ui-components";

const Page = () => (
  <div>
    <Typography>
      Check out my <Link to="/blog">blog</Link>!
    </Typography>
  </div>
);

export default Page;

The following components have also been adapted for use with Gatsby:

import {
  BottomNavigationAction,
  Button,
  CardActionArea,
  Fab,
  IconButton,
  Link,
  ListItemButton
} from "gatsby-material-ui-components";

License

MIT

Package Sidebar

Install

npm i @mab/gatsby-material-ui-components

Weekly Downloads

0

Version

5.3.0

License

MIT

Unpacked Size

30.4 kB

Total Files

25

Last publish

Collaborators

  • mab