1.5.0-next.2 • Published 3 years ago

@artemis69/iconic-svelte v1.5.0-next.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Iconic Icons for Svelte

Iconic Icons

Install

npm install @artemis69/iconic-svelte

Usage

Import main component Icon and pass icons as props:

<script>
  import { Icon, HeartIcon } from '@artemis69/iconic-svelte'
</script>

<Icon icon={HeartIcon} width="36" height="36"/>

Icons use an upper camel case naming convention and are always suffixed with the word Icon.

Benefits

You can listen to events on Icon:

<script>
  import { Icon, HeartIcon } from '@artemis69/iconic-svelte'
</script>

<Icon icon={HeartIcon} on:click={() => alert('Alert here!')}/>
1.5.0-next.2

3 years ago

1.5.0-next.1

3 years ago

1.5.0-next.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago