All Projects → therufa → Mdi Vue

therufa / Mdi Vue

Licence: mit
Material design icons for vue.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mdi Vue

Vuetify Swipeout
👆 A swipe out example built with Vue CLI 3 + Vuetify + Swiper.
Stars: ✭ 117 (+120.75%)
Mutual labels:  material-design, vuejs2, vue2
Vuetify Todo Pwa
✔️ A simple Todo PWA built with Vue CLI 3 + Vuex + Vuetify.
Stars: ✭ 160 (+201.89%)
Mutual labels:  material-design, vuejs2, vue2
Quasar
Quasar Framework - Build high-performance VueJS user interfaces in record time
Stars: ✭ 20,090 (+37805.66%)
Mutual labels:  material-design, vuejs2, vue2
Easy Vue
Learn vueJS Easily 👻
Stars: ✭ 896 (+1590.57%)
Mutual labels:  vuejs2, vue2
Vue Quill Editor
🍡@quilljs editor component for @vuejs
Stars: ✭ 6,874 (+12869.81%)
Mutual labels:  vuejs2, vue2
Fuse
A simple file sharing web service in Vue.js and Flask
Stars: ✭ 7 (-86.79%)
Mutual labels:  vuejs2, vue2
Vuebar
(🗃️ Archived) Vue 2 directive for custom scrollbar that uses native scroll behavior. Lightweight, performant, customizable and without dependencies. Used successfully in production on https://ggather.com
Stars: ✭ 650 (+1126.42%)
Mutual labels:  vuejs2, vue2
Uiv
Bootstrap 3 components implemented by Vue 2.
Stars: ✭ 882 (+1564.15%)
Mutual labels:  vuejs2, vue2
Vue Entity Adapter
Package to maintain entities in Vuex.
Stars: ✭ 20 (-62.26%)
Mutual labels:  vuejs2, vue2
Vms
A Vue.js 2.0 Content Management System
Stars: ✭ 885 (+1569.81%)
Mutual labels:  vuejs2, vue2
Vue Share Buttons
🔗A set of social buttons for Vue.js
Stars: ✭ 34 (-35.85%)
Mutual labels:  vuejs2, vue2
Vue Snotify
Vuejs 2 Notification Center
Stars: ✭ 755 (+1324.53%)
Mutual labels:  vuejs2, vue2
Vue Music Player
🎵Vue.js写一个音乐播放器+📖One(一个).A music player + One by Vue.js
Stars: ✭ 729 (+1275.47%)
Mutual labels:  vuejs2, vue2
Vue Chat
👥Vue全家桶+Socket.io+Express/Koa2打造一个智能聊天室。
Stars: ✭ 887 (+1573.58%)
Mutual labels:  vuejs2, vue2
Vuex I18n
Localization plugin for vue.js 2.0 using vuex as store
Stars: ✭ 657 (+1139.62%)
Mutual labels:  vuejs2, vue2
Vue2 Datatable
The best Datatable for Vue.js 2.x which never sucks. Give us a star 🌟 if you like it! (DEPRECATED. As I, @kenberkeley, the only maintainer, no longer works for OneWay. Bugs may be fixed but new features or breaking changes might not be merged. However, it's still the best in my mind because of its extremely flexible usage of dynamic components)
Stars: ✭ 867 (+1535.85%)
Mutual labels:  vuejs2, vue2
Unitauto
☀️机器学习单元测试平台,零代码、全方位、自动化 测试 方法/函数 的性能、正确性和可用性。☀️An unit testing management platform powered by machine learning. Coding-free, comprehensive and automatical testing for methods/functions.
Stars: ✭ 32 (-39.62%)
Mutual labels:  vuejs2, vue2
Quasar Awesome
🎉 A list of awesome things related to Quasar
Stars: ✭ 995 (+1777.36%)
Mutual labels:  material-design, vue2
Android Dev
⚡️ Curated list of resources for Android app development. Prepare for battle!
Stars: ✭ 44 (-16.98%)
Mutual labels:  material-design, icons
Vue Crud
Vue.js based REST-ful CRUD system
Stars: ✭ 629 (+1086.79%)
Mutual labels:  material-design, vuejs2

Material Design Icons for Vue.js (reloaded 😎)

npm Edit MDI Vue demo

MDIVue came into life with the aim to provide an easy-to-use icon library for Vue with the use of Templarian's Material Desing Icons project.

Breaking changes from 1.x to 2.x

Since v2.x the library does not consist of generated components, but a wrapper specificly for the @mdi/js library and therefore comes in form of a plugin.

Starting from version 2.1.2 the lib does not contain icon imports, these need to be provided upon registration of the plugin. This allows to obtain control over the build size of your project, since the list of components can be determined by the developer percisely.

Vue 2 example

import mdiVue from 'mdi-vue'
import * as mdijs from '@mdi/js'

Vue.use(mdiVue, {
  icons: mdijs
}) 

Vue 3 example

import { createApp } from 'vue'
import mdiVue from 'mdi-vue'
import * as mdijs from '@mdi/js'
// `App` according to the vue 3 documentation

createApp(App).use(mdiVue, {
  icons: mdijs
}) // etc...
<mdicon name="alert" />

Installation

Simply install it using your favourite package manager

eg:

$ npm install --save mdi-vue @mdi/js
$ yarn add mdi-vue @mdi/js

Import and usage

MDIVue became a plugin with version 2.0 therefore it needs to be registered as such using the .use command.

For Vue version 2 this happens globally with Vue.use() for version 3 however the "use" method became an instance method, therefore app.use() is the place to start with.

Once the lib has been registered the component mdicon should be available across your project. To render an icon of your choice just pass the component the name prop with the desired icon.

<mdicon name="hamburger" />

Props

name (required)

The name of the icon to render in camel- or pascal case format.

width and height (numeric or string; default: 24)

  <mdicon :width="30" :height="30 />

size (numeric or string; default: 24)

Sets the width and the height of the of an icon, given that no with or height was provided to the icon itself

  <mdicon name="playstation" size="64" />
  <mdicon name="alert" :size="512" />

Since the size property serves as a fallback to both width and height properties the above examples are equal to the following ones

  <mdicon name="playstation" width="64" height="64" />
  <mdicon name="alert" :width="512" :height="512" />

spin (boolean; default: false)

Applies a css spin/rotate animation to the icon

  <mdicon name="cog" spin />
  // or
  <mdicon name="cog" :spin="true" />

Used resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].