Skip to content

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.

Set link attribute to true to display link state.

Loading Button

Set loading attribute to true to display loading state.

Button API

Button Attributes

NameDescriptionTypeDefaultversion
sizesizelarge | default | small
typetypeprimary | success | warning | danger | info
plainplainbooleanfalse
linklinkbooleanfalse
roundroundbooleanfalse
circlecirclebooleanfalse
loadingloadingbooleanfalse
disableddisabledbooleanfalse
iconiconstring / Component

Contributors

lazy

ChangeLog

f39e1 - fix: 修复buttondisabled无效功能 on 12/19/2023

Released under the MIT License.