svelte-mono-icons

1.1.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i svelte-mono-icons

Weekly Downloads

17

Version

1.1.2

License

MIT

Unpacked Size

578 kB

Total Files

143

Last publish

Collaborators

  • srmullen