Vue-Mdijs
Vue component wrapper for @mdi/js.
Installation
// NPM
npm i @mdi/js vue-mdijs
// Yarn
yarn add @mdi/js vue-mdijs
Usage
main.js
app.vue
Props
Name | Description | Type | Default | Accepted values |
---|---|---|---|---|
name |
String | String |
null |
- |
size |
Icon size | String , Number |
24 |
- |
title |
A11y SVG Title | String |
null |
- |
fill |
Color of icon | String |
currentColor |
rgb() /rgba() /#000 |
rotate |
Icon rotation | Number |
null |
0 to 360 |