flat-color-icons-loader

1.0.0 • Public • Published

Icons8 Flat Color icons loader

It is not an official Icons8 library.

Installation

npm install flat-color-icons-loader

Usage

get(iconName) - builds up file:// URL to the element in the flat-color-icons package so that you can use it in <img/> tag.

Example

const icons8 = require("flat-color-icons-loader");
 
document.getElementByID("myIcon").src = icons8.get("shop");

Package Sidebar

Install

npm i flat-color-icons-loader

Weekly Downloads

0

Version

1.0.0

License

GPL-3.0

Unpacked Size

1.59 kB

Total Files

3

Last publish

Collaborators

  • ruslan_g02