md.icons

2.5.1 • 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

/md.icons/

    Package Sidebar

    Install

    npm i md.icons

    Weekly Downloads

    20

    Version

    2.5.1

    License

    MIT

    Unpacked Size

    2.67 MB

    Total Files

    1924

    Last publish

    Collaborators

    • ambarli