Skip to content

ediebold/vue-material-icon

 
 

Repository files navigation

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)

About

Vue.js component to use material icon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.4%
  • Vue 6.4%
  • HTML 1.2%