@kebian/material-design-icons

1.0.5 • Public • Published

material-design-icons

An npm package for self-hosting Google's Material Design Icons.

Fonts are pulled from Google's git repository and then used to generate the missing eot, woff and woff2 files.

Also exports icon and category lists.

Example Sass Usage

@import '@kebian/material-design-icons/scss/material-design-icons';

Example JS usage

import { icons } from '@kebian/material-design-icons'

icons.forEach(icon => console.log('Icon name: ' + icon))
import { twotone, categories } from '@kebian/material-design-icons'

categories.forEach(category => {
    category.icons.forEach(icon => {
        if (twotone.includes(icon)) {
            console.log(`Category ${category.name} has a twotone ${icon} icon`)
        }
    })
})

Package Sidebar

Install

npm i @kebian/material-design-icons

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

1.85 MB

Total Files

29

Last publish

Collaborators

  • kebian