Eterex crypto icons Contains more than 420 digital currency icons.
Use the package manager npm to install foobar.
npm i eterex-crypto-icons
main.js or main.ts:
import CryptoIcon from "eterex-crypto-icons"
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App);
app.use(CryptoIcon);
app.mount('#app')
App.vue :
<template>
<CryptoIcon name="btc" :size="35"/>
</template>
<script>
export default {
name: 'App',
components: {
}
}
</script>
<template>
<CryptoIcon name="btc" :size="35"/>
</template>
<script>
import {CryptoIcon} from "eterex-crypto-icons"
export default {
name: 'App',
components: {
CryptoIcon
}
}
</script>
name:
{
type: String,
required: true,
description: "Name of a digital currency like (btc,eth,usdt,...)"
}
size:
{
type: Number,
default: 32,
description: "Set width and height of icon togather with a number"
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.