1.1.1 • Published 5 years ago

vue-eva-icons v1.1.1

Weekly downloads
404
License
MIT
Repository
github
Last release
5 years ago

Vue Eva Icons

Is a pack of more than 480 beautiful open source eva icons as Vue components

Demo

https://antonreshetov.github.io/vue-eva-icons

Install

NPM

Installing with npm is recommended and it works seamlessly with webpack.

npm i vue-eva-icons

Download

You can download latest version from the Github: Download

Quick start

Global

To use in your project, just import vue-eva-icons and install into Vue.

main.js

import Vue from 'vue'
import App from './App.vue'
import EvaIcons from 'vue-eva-icons'

Vue.use(EvaIcons)

new Vue({
  render: h => h(App)
}).$mount('#app')

App.vue

<template>
  <eva-icon name="github" animation="pulse" fill="limegreen"></eva-icon>
</template>

On demand

<template>
  <eva-icon name="github" animation="pulse" fill="limegreen"></eva-icon>
</template>

<script>
  import { EvaIcon } from 'vue-eva-icons'

  export default {
    components: {
      [EvaIcon.name]: EvaIcon
    }
  }
</script>

Props

NameDescriptionTypeAccepted values
nameIcon namestring-
widthWidth of iconstring-
heightHeight of iconstring-
fillFill color of iconstringHEX or color name
animationType of animationstringzoom, pulse, shake, flip

Events

NameDescriptionPayload
clickTriggered when icon was clicked-