@hsjs/svelte-icons
v0.0.1-rc.4
Published
You should install this package as a development dependency. This package assumes you are already using something like [`svelte-preprocess`](https://github.com/sveltejs/svelte-preprocess).
Downloads
30
Readme
Usage
You should install this package as a development dependency. This package assumes you are already using something like svelte-preprocess
.
yarn add -D @hsjs/svelte-icons
In your svelte project:
<script lang="ts">
import ArrowDownCircle from "@hsjs/svelte-icons/feather/ArrowDownCircle.svelte"
</script>
<ArrowDownCircle color="red" size={20} />
Development
pnpm install
# generate svelte component for feather icons
# generated files are in dist/feather
node scripts/feather.mjs