UxButton
components/ux/Button.vue
Primary action button with grape background, stroke variant, icon slot, and loading spinner state.
components/ux/Button.vue
Usage
<UxButton
:disabled = "false"
kind = "—"
:spin = "false"
>
Content here
</UxButton>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| disabled | Boolean | false | Disables the button |
| kind | String | '' | '' (filled) or 'stroke' (outlined) |
| spin | Boolean | false | Shows loading spinner |
Slots
| Slot | Description |
|---|---|
| default | Label text |
| icon | Left icon area |