You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svelte-icons

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-icons

Icon components for svelte

2.1.0
latest
npmnpm
Version published
Weekly downloads
16K
62.7%
Maintainers
1
Weekly downloads
 
Created
Source

Commitizen friendly NPM: svelte-icons Build Status License: MIT

Svelte Icons

Icon components for svelte.

Installation

npm install --save svelte-icons

Usage

Visit the icon navigator to search through the available icon sets. Click an icon to copy the import statement to your clipboard.

<script>
  import ChevronCircleUp from 'svelte-icons/fa/FaChevronCircleUp.svelte';
</script>

<style>
  .icon {
    color: red;
    width: 32px;
    height: 32px;
  }
</style>

<div class="icon">
  <ChevronCircleUp />
</div>

Running The Example (Icon Navigator)

scripts (yarn prefix omitted)

  • submodule
  • link (/)
  • dev (/)
  • link svelte-icons (/example)
  • dev (/example)

[ NOTE / TODO ]: Building the example takes a very long time, but technically hot-reloading should be fast, although it seems that rollup is not caching dynamic imports for some reason, which means dev with hot-reload is not possible atm. The current work around is to remove some number (ideally all but one) of dynamic imports from inside store.js, depending on which packages you need during development.

FAQs

Package last updated on 07 Mar 2020

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.