alepop / svelte-cryptoicon

Сryptocurrencies icons as Svelte components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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" />

About

Сryptocurrencies icons as Svelte components

License:MIT License


Languages

Language:HTML 96.2%Language:JavaScript 3.8%