Package Exports
- svelte-awesome
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (svelte-awesome) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Svelte-Awesome
Awesome SVG icon component for Svelte JS, built with Font Awesome icons. Based on Justineo/vue-awesome
Svelte-Awesome is built upon Font-Awesome v4.7.0
A demo is available here
Installation
NPM
$ npm install --save svelte-awesomeUsage
<!-- basic -->
<Icon name="beer"></Icon>
<!-- with options -->
<Icon name="refresh" scale="2"></Icon>
<Icon name="comment" flip="horizontal"></Icon>
<Icon name="code-fork" label="Forked Repository"></Icon>
<!-- stacked icons [WIP] -->
<Icon label="No Photos">
<Icon name="camera"></Icon>
<Icon name="ban" scale="2" class="alert"></Icon>
</Icon>