vue-md-icon
A Vue.js wrapper for Material Design Icons
# build component npm run build # lint npm run lint
Installation
npm i -S vue-md-icon
Installation
Browser
Module
;
Usage
The component can be used in a template with:
or
Props
Prop | Type | Options | Example |
---|---|---|---|
name |
String |
Any valid Material Design icon name (separate words with _ (underscore) | face , exit_to_app |
color |
String |
Any valid CSS color | red , #fff , #cc9900 |
size |
String |
small , medium (default), large , largest |
small |
rotateDeg |
Number |
Integer value | 45 , 180 |