svelte-zondicons
v1.0.1
Published
Svelte component for Zondicons by Steve Schoger
Downloads
3
Maintainers
Readme
Svelte Zondicons
Installation
yarn add -D svelte-zondicons
or use NPM
npm install --save-dev svelte-zondicons
Usage
<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 />
Accepted Props
class
: Setsclass
attributesize
: Setsheight
andwidth
attributescolor
: Setsfill
attribute (Defaults tocurrentColor
)
Credit
- Zondicons is a free SVG icon set created by Steve Schoger.
- This package was inspired by:
Contributing
Pull requests are welcome :)