Vue material icon

Vue.js functional component to display material icons

Version: 1.0.1 Updated: 12/08/2017

By: achwilko License: MIT

Downloads Last 30 Days: 903

vue-material-icon

Vue.js (2.5+) functional component to display material icon.

Installation

Using NPM:

npm install vue-material-icon

Usage

In your main.js file:

import VueMaterialIcon from 'vue-material-icon'

Vue.component(VueMaterialIcon.name, VueMaterialIcon)

In your components template:

  <vue-material-icon name="favorite" :size="32"></vue-material-icon>
  • name - material icon name which can be find here
  • size - icon size in px (24 is default)
Categories: Vue js