@nylira/vue-button
vue-button
Button component for Vue 2.
Installation
npm install @nylira/vue-button
Usage
<template>
<btn date="February 28, 2017"></btn>
</template>
<script>
import Btn from '@nylira/vue-button'
export default {
components: {
Btn
}
}
</script>
<style>
.ni-btn-wrapper {
display: inline-block;
}
.ni-btn {
background: #f00;
}
</style>
Props
value=""
// The label of the button
// Options: Any valid string
icon=""
// If you're using FontAwesome, places an icon to the left of the label
// Options: Check http://fontawesome.io/icons
icon-pos=""
// Move the icon to the right side instead of the left
// Options: "right"
size=""
// Chanage the size of the button
// Options: "lg", "sm"
theme="tendermint"
// Adds a custom button theme
// Options: "tendermint", "alpha-black"
type="button"
// Button type (mainly used for HTML forms)
// Options: "button", "submit"
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 4.4.3 | MIT | |
| 4.4.2 | MIT | |
| 4.4.1 | MIT | |
| 4.4.0 | MIT | |
| 4.3.2 | MIT | |
| 4.3.1 | MIT | |
| 4.3.0 | MIT | |
| 4.2.2 | MIT | |
| 4.2.1 | MIT | |
| 4.2.0 | MIT | |
| 4.1.5 | MIT | |
| 4.1.4 | MIT | |
| 4.1.3 | MIT | |
| 4.1.2 | MIT | |
| 4.1.1 | MIT | |
| 4.1.0 | MIT | |
| 4.0.1 | MIT | |
| 4.0.0 | MIT | |
| 3.3.2 | MIT | |
| 3.3.1 | MIT | |
| 3.3.0 | MIT | |
| 3.2.1 | MIT | |
| 3.2.0 | MIT | |
| 3.1.3 | MIT | |
| 3.1.2 | MIT | |
| 3.1.1 | MIT | |
| 3.1.0 | MIT | |
| 3.0.17 | MIT | |
| 3.0.16 | MIT | |
| 3.0.15 | MIT |
Showing the latest 30 of 80. See every release on npm