MobstraButton
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| buttonText | The text to display on the button. | string | - | '' |
| size | The size of the button. | string | sm, lg | 'lg' |
| type | The type of the component to render. | string | link, router-link, button | 'button' |
| variant | The visual style variant of the button. | string | primary, success, danger, icon | 'primary' |
| version | The version of the button. | string | primary, outline | 'primary' |
| isDisabled | Disables the button when true. | boolean | - | false |
| loading | Shows a loading spinner when true. | boolean | - | false |
| prependIcon | Icon name to display before the button text. | string | - | null |
| appendIcon | Icon name to display after the button text. | string | - | null |
| linkPath | URL or route path for the link or router-link. | string | - | '#' |
| iconSize | Size of the icons. | string | - | '24px' |
| iconColor | Color of the icons. | string | - | '' |
vue
<MobstraButton />