Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moollaza/svelte-zondicons

Svelte components for Zondicons by Steve Schoger
https://github.com/moollaza/svelte-zondicons

icons package sapper svelte tailwindcss zondicons

Last synced: 25 days ago
JSON representation

Svelte components for Zondicons by Steve Schoger

Awesome Lists containing this project

README

        

## Svelte Zondicons

[![npm version](https://img.shields.io/npm/v/svelte-zondicons.svg?style=flat-square)](https://www.npmjs.com/package/svelte-zondicons)

Provides customizable components for each icon in the Zondicons set. Ideal for use with [Tailwind](https://tailwindcss.com/).

### Installation

```bash
yarn add -D svelte-zondicons
```
or use NPM
```bash
npm install --save-dev svelte-zondicons
```

### Usage

```html

// Only import what you need
import { AirplaneIcon, ArrowLeftIcon, ... } from 'svelte-zondicons';

```

### Accepted Props
- `class`: Sets `class` attribute
- `size`: Sets `height` and `width` attributes
- `color`: Sets `fill` attribute (Defaults to `currentColor`)

## Credit
- [Zondicons](https://www.zondicons.com/) is a free SVG icon set created by [Steve Schoger](https://twitter.com/steveschoger).
- 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)

## Contributing
Pull requests are welcome :)