vue-micon
vue-micon
NOTE: This is a fork of
vue-material-iconbecause the upstream doesn't update for a while. It's fully compatible with the upstream right now, and version number are following the upstream.
Vue.js (2.5+) functional component to display material icon.
Installation
Using NPM:
npm install vue-micon -S
Using Yarn:
yarn add vue-micon
Usage
In your main.js file:
import VueMaterialIcon from 'vue-micon'
Vue.component(VueMaterialIcon.name, VueMaterialIcon)
In your components template:
<vue-material-icon name="favorite" :size="32" :color="red"></vue-material-icon>
- name - material icon name which can be find here
- size - icon size in px (24 is default)
Related Packages
vue-material-design-icons
A collection of material design icons as Vue single file components
3,140,911
171
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.1 | ^2.5.2 | MIT | |
| 1.2.0 | ^2.5.2 | MIT | |
| 1.1.0 | ^2.5.2 | MIT |