Socket
Socket
Sign inDemoInstall

@artemis69/iconic-svelte

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @artemis69/iconic-svelte

[Iconic Icons](https://github.com/Make-Lemonade/iconicicons)


Version published
Weekly downloads
8
increased by700%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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!')}/>

Keywords

FAQs

Last updated on 24 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc