Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vue-cryptocurrency-icons

steevepay78MIT0.2.5

A Vue.js component for the project 'cryptocurrency-icons: 6000 icons – almost 400 crypto currencies, in 4 styles and a range of sizes.'

cryptocurrency, icons, icon, crypto, currency, cryptocurrencies, currencies, symbols, svg, png, vector, color, coin, bitcoin, ethereum, flat-icons, altcoin, altcoins, icon-pack, icon-set, erc20-tokens, erc20, erc721, vuejs, vue2

readme

Vue Cryptocurrency Icons

A Vue.js component for the project cryptocurrency-icons: 6000 icons – almost 400 crypto currencies, in 4 styles and a range of sizes.

screenshot icons

Quick start

npm install --save vue-cryptocurrency-icons
import Vue from "vue";
import IconCrypto from "vue-cryptocurrency-icons";

Vue.use(IconCrypto);

Example

<template>
  <div id="app">
    <IconCrypto coinname="ETH" color="color" format="svg" />
  </div>
</template>

<script>
export default {
  name: "app"
};
</script>

Documentation

Props

coinname

The name of the coin.

  • type: String
  • required: true

If the coin name passed as props does not exist, an a generic icon is used.

color

The color of the coin.

  • type: String
  • default: color
  • available values: color - black - white

format

  • type: String
  • default: 32
  • available values: 32 - 128 - svg