1.5.0-next.2 • Published 5 years ago
@artemis69/iconic-svelte v1.5.0-next.2
Iconic Icons for Svelte
Install
npm install @artemis69/iconic-svelteUsage
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
5 years ago
1.5.0-next.1
5 years ago
1.5.0-next.0
5 years ago
1.5.0
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.1
5 years ago
1.1.1
5 years ago