Button
Basic usage
Use type
, plain
, round
and circle
to define Button's style.
Disabled Button
The disabled
attribute determines if the button is disabled.
Icon Button
Use the icon
attribute to add icon.
Sizes
Use attribute size
to set additional sizes with large
, small
.
Link
Set link
attribute to true
to display link state.
Loading Button
Set loading
attribute to true
to display loading state.
Button API
Button Attributes
Name | Description | Type | Default | version |
---|---|---|---|---|
size | size | large | default | small | — | |
type | type | primary | success | warning | danger | info | — | |
plain | plain | boolean | false | |
link | link | boolean | false | |
round | round | boolean | false | |
circle | circle | boolean | false | |
loading | loading | boolean | false | |
disabled | disabled | boolean | false | |
icon | icon | string / Component | — |