UHButton Component
Install
npm i @urban-vueseable/uh-button
Use Component
<template>
<UHButton
label="Submit"
/>
</template>
<script>
import UHButton from '@urban-vueseable/uh-button'
export default {
components: {
UHButton
}
}
</script>
Props & Methods
Prop name | Type | Default | Description |
---|---|---|---|
id | String | The ID is Unique | |
label | String | ||
className | String | ||
isDisabled | Boolean | false | |
isWaiting | Boolean | false | |
color | String | default | One of : default, firm, median, prime, success, danger, disabled |
size | String | normal | One Of : small, large , ' ' |
icon | String | ||
iconPosition | String | One Of : left, right | |
fullWidth | Boolean |