svelte-feather-icon
v2.0.0
Published
Feather icon component for Svelte.
Downloads
21
Readme
svelte-feather-icon
Simple wrapper component for Feather Icons.
Usage
<FeatherIcon icon="feather" />
Properties
icon
: Feather icon name. What you would put in thedata-feather
attribute.attrs
: Attributes you would pass tofeather.replace()
Using with Sapper
Please import svelte-feather-icon/FeatherIcon.html
directly (or configure your bundler to resolve svelte
package fields, rollup-plugin-svelte
does this out of the box, see resolve.mainFields for webpack) and compile it from within your own project.
See svelte#604 for more information.