vue-cryptocurrency-icons

0.2.5 • Public • Published

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

Package Sidebar

Install

npm i vue-cryptocurrency-icons

Weekly Downloads

30

Version

0.2.5

License

MIT

Unpacked Size

701 kB

Total Files

14

Last publish

Collaborators

  • steevepay