Skip to content

Svelte components for Zondicons by Steve Schoger

License

Notifications You must be signed in to change notification settings

moollaza/svelte-zondicons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b56e53a · Dec 26, 2019

History

15 Commits
Dec 26, 2019
Dec 22, 2019
Dec 24, 2019
Dec 24, 2019
Dec 21, 2019
Dec 24, 2019
Dec 24, 2019
Dec 24, 2019
Dec 24, 2019
Dec 24, 2019
Dec 24, 2019

Repository files navigation

Svelte Zondicons

npm version

Provides customizable components for each icon in the Zondicons set. Ideal for use with Tailwind.

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" />

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 :)