1.0.0 • Published 7 years ago
vue-md-icon v1.0.0
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
<script src="path-to-vue.js"></script>
<script src="v-icon.min.js"></script>
<script>
Vue.use(VIcon);
</script>
Module
import VIcon from 'v-icon';
Usage
The component can be used in a template with:
<v-icon></v-icon>
or
<VIcon/>
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 |
1.0.0
7 years ago