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.
npm install react-mdiimport React from 'react';
import AccountIcon from 'material-ui-mdi/icons/account';
export default class Account extends React.Component {
render() {
return (
<AccountIcon size={16} className="myClassName" />
);
}
}| Prop | Default value | Usage |
|---|---|---|
size |
24 | Used to set the viewBox prop/attribute on the svg and the heightand width in the style attribute |
className |
null | Used to apply a css class to the component and properly style it |
npm run build