Skip to content

Button

Commonly used button.

Basic usage

Use type and size to define Button's style.




Disabled Button

Use disabled attribute to determine whether a button is disabled. It accepts a Boolean value.

Sizes

Use attribute size to set additional sizes with large, small, default, default default.

Button API

Button Attributes

NameDescriptionTypeDefault
typebutton type'default' | 'primary' | 'plain' | 'danger'| 'warning'| 'success'default
sizebutton size'large' | 'default' | 'small'default
rounddetermine whether it's a round buttonbooleanfalse
circledetermine whether it's a circle buttonbooleanfalse
disableddisable the buttonbooleanfalse

Released under the MIT License.