yarn add -D svelte-zondicons
or use NPM
npm install --save-dev svelte-zondicons
<script>
// Only import what you need
import { AirplaneIcon, ArrowLeftIcon, ... } from 'svelte-zondicons';
</script>
<AirplaneIcon />
<ArrowRightIcon class="h-8 w-8 text-gray-800" />
<!-- Or using as custom elements -->
<airplane-icon />
<arrow-left-icon />
class
: Setsclass
attributesize
: Setsheight
andwidth
attributescolor
: Setsfill
attribute (Defaults tocurrentColor
)
- Zondicons is a free SVG icon set created by Steve Schoger.
- This package was inspired by:
- (svelte-feather-icons)[https://github.com/dylanblokhuis/svelte-feather-icons]
- (svelte-simple-icons)[https://github.com/beyonk-adventures/svelte-simple-icons]
Pull requests are welcome :)