Button
Install
Usage
Type
Plain
Hairline
Disable
Loading
Shape
Custom Color
Tags
Native Type
Block
Icon
Action
URL
API
Props
Attribute | Description | Type | Default | Required |
| Can be set to | string |
| optional |
| Text to be displayed in button | string | - | optional |
| Color, in hex value: | string | - | optional |
| Css Color | string | - | optional |
| Button icon that appears on the left | string | - | optional |
| HTML Tag | string | - | optional |
| Native Type Attribute | string | ' ' | optional |
| Whether to be plain button | boolean |
| optional |
| Whether to be round button | boolean |
| optional |
| Whether to be square button | boolean |
| optional |
| Whether to disable button | boolean |
| optional |
| Whether to show loading status | boolean |
| optional |
| Loading text | string | - | optional |
| Loading type, can be set to | string |
| optional |
| Link URL | string | - | optional |
| Whether open in current tab | boolean |
| optional |
Event
Event | Description | Arguments |
| Triggered when click button and not disabled or loading | event: Event |
| Triggered when touch start on mobile | event:TouchEvent |
Last updated