Skip to content

alepop/svelte-cryptoicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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