1.0.9 • Published 4 years ago

vue-button-icon v1.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

easy to use vue button with animations and icons

Demo: http://byParsa.me/Plugins/vue-button-icon

vue-button-icon

Install

npm install vue-button-icon --save

How to use

Globally :

Import plugin in your main.js file globally.

import vueButtonIcon from  'vue-button-icon';
Vue.use(vueButtonIcon)
/*

Example:

Vue.use(vueButtonIcon, { color: "white" })

...

<vue-button-icon color="white"></vue-button-icon>

*/

Locally :

Import plugin in your component directly.

import { ButtonComponent } from  'vue-button-icon'

export  default {

    components:{
	    ButtonComponent
	}
}

Props:

NameTypeDefaultDescription
colorString#ffffffcolor define button text and button icon color
widthNumber200width property allows you change the width optional
blockBooleanfalseblock if true width = 100% of block => width property disable
iconStringfa fa-instagramicon property allows you to use the fontawesome icons with class name , you can use custom classes too
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago