svelte-zondicons

1.0.1 • Public • Published

Svelte Zondicons

npm version

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: Sets class attribute
  • size: Sets height and width attributes
  • color: Sets fill attribute (Defaults to currentColor)

Credit

Contributing

Pull requests are welcome :)

Package Sidebar

Install

npm i svelte-zondicons

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

614 kB

Total Files

303

Last publish

Collaborators

  • moollaza