Action

Primary

Primary with Icon

Secondary

Secondary disabled

Disabled

Variants

Danger

Success

Small

API

Props

NameDescriptionTypeDefault
sizeThe size of the button. Defaults to big.stringSIZES.BIG
secondaryFlag for secondary button stylebooleanfalse
loadingFlag for is button is loadingbooleanfalse
disabledFlag for is button is disabledbooleanfalse
noPaddingFlag for having no padding to the buttonbooleanfalse
typeThe html element used for the button.stringTYPES.BUTTON
hrefWhen setting the button’s type to a link (), use this option to give a href.string
variantVariant optionsstring
trailingIconAppended iconstring
buttonTypeButton typestring'submit'

Events

NameDescription
click

Slots

NameDescription
default