1.0.0 • Published 6 years ago

vue-md-icon v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

PropTypeOptionsExample
nameStringAny valid Material Design icon name (separate words with _ (underscore)face, exit_to_app
colorStringAny valid CSS colorred, #fff, #cc9900
sizeStringsmall, medium (default), large, largestsmall
rotateDegNumberInteger value45, 180