svelte-cryptoicon

Svelte component for cryptocurrency-icons

Usage no npm install needed!

<script type="module">
  import svelteCryptoicon from 'https://cdn.skypack.dev/svelte-cryptoicon';
</script>

README

Svelte cryptoicon components

svg icons designed by atomiclabs

Installation

npm install svelte-cryptoicon

Usage

<script>
  import { Btc } from 'svelte-cryptoicon'
</script>
<div>
  <Btc />
</div>

You can also include the whole icon pack

<script>
  import * as Icons from 'svelte-cryptoicon'
</script>
<div>
  <Icons.Btc />
</div>

Or include component from source folder

<script>
 import Btc from "svelte-cryptoicon/src/icons/Btc.svelte"
</script>

Icons can be configured with props:

<Btc color="red" size="64" />