vue-cryptoicon
Star
Beautiful pixel perfect 400+ cryptocurrency and 10+ Fiat currency icon, in a range of styles and sizes
Install
Installing with NPM or Yarn
npm install vue-cryptoicon // yarn add vue-cryptoicon
Use
To use in your project, just import vue-cryptoicon and install into Vue.
// main.js
import Vue from 'vue';
import Cryptoicon from 'vue-cryptoicon';
import {{ !selectedIcons.length ? 'icons' : selectedIconObj }} from 'vue-cryptoicon/src/icons';
Cryptoicon.add({{ !selectedIcons.length ? 'icons' : selectedIconArr }});
Vue.use(Cryptoicon);
// App.vue
// Bitcoin color icon
<cryptoicon symbol="btc" size="24" />
Props
| Name |
Description |
Type |
Default |
Accepted values |
{{ prop.name }}
|
{{ prop.description }}
|
{{ prop.type }}
|
{{ prop.default }}
|
{{ prop.accepted }}
|
Advance
You can change the default value of size and color in main.js
// main.js
Vue.use(Cryptoicon, { size: '50', color: 'black' });
Licence
MIT license.