Skip to content

Community Material Design Icons as material-ui SvgIcon components

License

Notifications You must be signed in to change notification settings

gabriel-miranda/react-mdi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-mdi

Material-UI community Material Design Icons.

Community Material Design Icons as svg react components, built with icon-builder from Material-UI.

Special thanks to Austin Andrews for managing Material Design Icons.

Installation

npm install react-mdi

Usage

import React from 'react';

import AccountIcon from 'react-mdi/icons/account';

export default class Account extends React.Component {
  render() {
    return (
      <AccountIcon size={16} className="myClassName" />
    );
  }
}

Props

Prop Default value Usage
size 24 Used to set the heightand width in the style attribute
className null Used to apply a css class to the component and properly style it

Build

npm run build

About

Community Material Design Icons as material-ui SvgIcon components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.7%
  • Shell 33.3%