3.0.2 • Published 12 months ago

zen-icon v3.0.2

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

npm GitHub package version NPM Downloads

500B gzipped

Import

import ZenIcon from 'zen-icon'
new ZenIcon({
	revision: '1',
	file: './sprite.svg'
})

File with icons

sprite.svg

<svg id="iconset" aria-hidden="true" style="width: 0; height: 0; position: absolute;">
	<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 xlink:href="#icon-name"></use>
</svg>

License

zen-icon is released under MIT license

3.0.2

12 months ago

3.0.1

12 months ago

2.1.0

1 year ago

2.0.0

1 year ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago