vue-md-icon

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vue-md-icon

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dlevin