@arikardnoir/vue-drip-button

1.0.4 • Public • Published

Vue Drip Button

version npm downloads Software License

A Vue.js plugin to easily integrate button in your projects.

Vue Drip Button is a simple button that give a lot of alternatives to work with, instead of using a predefined button.

Instalation

Install the package from npm by running:

# install dependencies
npm i @arikardnoir/vue-drip-button

Usage

Import, register and place the component in your Vue app.

<template>
  <VueDripButton />
</template>
import VueDripButton from 'vue-drip-button'

export default {
  components: {
    VueDripButton,
  }
}

Accessibility

Apply attributes, directly on the element to apply them to the button.

<template>
  <VueDripButton
    classType="button success"
    text="New Product"
    :needSpinner="true"
    :isRequesting="true"
  />
</template>

Props

Components Property that make him cool

Name Type Default Description
classType String button success This prop allow to change button color,according to our terms
text String This prop allow you to change the button text
needSpinner Boolean false With this prop you make choice if you want to use spinner on this button
isRequesting Boolean false This prop make sense if you will use the Spinner, i could help your button spinner work if the two are in TRUE mode.
isDisabled Boolean false This prop is for disable your button

Button Colour Styles

Component classType for change the Style

classType Type Image
primary String picture
secondary String picture
warning String picture
danger String picture
success String (default) picture
info String picture
primary-outline String picture
secondary-outline String picture
warning-outline String picture
danger-outline String picture
success-outline String picture
info-outline String picture

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.41latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.41
1.0.31
1.0.21
1.0.01

Package Sidebar

Install

npm i @arikardnoir/vue-drip-button

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

2.07 MB

Total Files

37

Last publish

Collaborators

  • arikardnoir