@gyselroth/icon-collection

SVG icon collection (including css definitions)

Stats

StarsIssuesVersionUpdatedCreatedSize
@gyselroth/icon-collection
311.0.132 years ago4 years agoMinified + gzip package size for @gyselroth/icon-collection in KB

Readme

SVG icon collection

npm GitHub release GitHub license

This library provides an icon collection based on svg.

Installation

npm --save install @gyselroth/icon-collection

Documentation & Overview

Please visit the docs.

Usage example

<div class="gr-icon gr-i-file"></div>

Colorize your icons

You can use an icon with any color you like. If you do you have to switch from the css class gr-icon to gr-mask-icon. An icon with gr-mask-icon takes the color from background-color.

<div style="background-color: #F01;" class="gr-mask-icon gr-i-file"></div>

Browser Support

If you want to use color masks, please see browser support for css masks.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.