0.16.1 • Published 5 years ago
svelte-cryptoicon v0.16.1
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" />
0.16.1
5 years ago