Button element

Example snippet:

<BaseButton round iconPrefix="close">Button</BaseButton>
<BaseButton type="primary" size="small" iconPrefix="close" round disabled>Button</BaseButton>

Attributes

attribute description type accepted values default
align Text alignment String left / right -
autofocus Set the button autofocus (native) Boolean - false
disabled Set the button to inactive Boolean - false
fullwidth Span container Boolean - false
iconPrefix Set the icon String icon name i.e close -
iconSuffix Set the icon String icon name i.e close -
native-type Set the native button type String submit / button / reset -
round Rounded corners on button Boolean - true
size edit the button size String small / large -
buttonstyle set the button type String negative -
back is a back button Boolean - false