1.1.2 • Published 3 years ago

svelte-mono-icons v1.1.2

Weekly downloads
47
License
MIT
Repository
github
Last release
3 years ago

svelte-mono-icons

Svelte components for the beautiful mono icon set.

Installation

With npm npm install --save-dev svelte-mono-icons

or yarn yarn add --dev svelte-mono-icons

Usage

<script>
  import { MoonIcon, SunIcon, ... } from 'svelte-mono-icons';
</script>

<MoonIcon size="24" />
<SunIcon size="1.5x" class="yellow" focusable="false" />

<style>
  :global(.yellow path) {
    fill: yellow !important;
  }
</style>

Icons

Complete list of icons can be found here.

The naming convention for the components is pascal case with 'Icon' appended. So the icon 'arrow-up' become 'ArrowUpIcon'.

import { ArrowUpIcon } from 'svelte-mono-icons';

Acknowledgements

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago