@trejgun/material-ui-icons-google
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Material UI Google icons

This is free to use set of google style flat icons wrapped in Material UI lib

Installation

npm install @trejgun/material-ui-icons-google

Usage

import React, { FC } from "react";
import {Grid, Button, makeStyles} from "@material-ui/core";

import {
  Account,
  Adwords,
  Business,
  Calendar,
  Docs,
  Drive,
  Gmail,
  Maps,
  News,
  Photos,
  Plus,
  Search,
  Sheet,
  Slides,
  Translate,
  Youtube,
} from "@trejgun/material-ui-icons-google";


const useStyles = makeStyles(
 theme => ({
   button: {
     margin: theme.spacing(1),
   },
   icon: {
     marginRight: theme.spacing(1),
   },
 }),
 {name: "Demo"}
);


const Demo: FC = () => {
  const classes = useStyles();

  return (
    <Grid>
      <Button variant="outlined" className={classes.button}>
        <Account className={classes.icon} /> Account
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Adwords className={classes.icon} /> Adwords
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Business className={classes.icon} /> Business
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Calendar className={classes.icon} /> Calendar
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Docs className={classes.icon} /> Docs
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Drive className={classes.icon} /> Drive
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Gmail className={classes.icon} /> Gmail
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Maps className={classes.icon} /> Maps
      </Button>
      <Button variant="outlined" className={classes.button}>
        <News className={classes.icon} /> News
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Photos className={classes.icon} /> Photos
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Plus className={classes.icon} /> Plus
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Search className={classes.icon} /> Search
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Sheet className={classes.icon} /> Sheet
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Slides className={classes.icon} /> Slides
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Translate className={classes.icon} /> Translate
      </Button>
      <Button variant="outlined" className={classes.button}>
        <Youtube className={classes.icon} /> Youtube
      </Button>
    </Grid>
  );
};

How it looks like

demo

Image source

FlatIcon

Package Sidebar

Install

npm i @trejgun/material-ui-icons-google

Weekly Downloads

11

Version

0.0.3

License

MIT

Unpacked Size

58.8 kB

Total Files

53

Last publish

Collaborators

  • trejgun