1.4.3 • Published 3 months ago

iconly v1.4.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

npm GitHub package version NPM Downloads

Installation

$ yarn add iconly

Import

import Iconly from 'iconly';
const iconly = new Iconly({
  file: './sprite.svg',
  version: '1.0',
  debug: true,
});

iconly.init().then(() => console.log('Iconly is initialized and icons are loaded.'));

File with icons

<svg>
  <symbol id="icon-one" viewBox="0 0 100 100">
    <path ... />
  </symbol>
  <symbol id="icon-two" viewBox="0 0 100 100">
    <path ... />
  </symbol>
  ...
</svg>

Usage

<svg>
  <use href="#icon-name"></use>
</svg>

License

iconly is released under MIT license

1.4.3

3 months ago

1.4.2

3 months ago

1.4.1

3 months ago

1.4.0

3 months ago

1.3.0

3 months ago

1.2.2

8 months ago

1.2.0

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago

1.2.1

9 months ago

0.0.1

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

1.0.1

4 years ago