lion/packages/icon/README.md
2020-04-29 10:05:06 +02:00

29 lines
444 B
Markdown

# Icon
A web component for displaying icons.
## Live Demo/Documentation
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/icon-system-icon) for a live demo and documentation
## How to use
### Installation
```sh
npm i --save @lion/icon
```
```js
import '@lion/icon/lion-icon.js';
```
### Example
```js
import './somewhere/my-iconset.js';
```
```html
<lion-icon icon-id="somewhere:myIconset:foo"></lion-icon>
```