md.icons

2.4.7 • Public • Published

md.icons

Material design icons for React.

Demo

Install

npm install md.icons

Usage

import * as mdi from 'md.icons'

<mdi.Check />
<mdi.ThumbUp size={20} fill="gray" />
// magically aligned to text
<button>
  <mdi.ThumbUp center /> Like
</button>

Props

Prop Type Default Description
size number | string void Set width and height prop
center boolean false Align icon to text, magically, see also react-inline-center
text boolean false Shortcut for size="1.2em"

Development

npm start

Readme

Keywords

none

Package Sidebar

Install

npm i md.icons

Weekly Downloads

24

Version

2.4.7

License

MIT

Unpacked Size

2.67 MB

Total Files

1924

Last publish

Collaborators

  • ambarli