Skip to content

MobstraButton

Props

Prop nameDescriptionTypeValuesDefault
buttonTextThe text to display on the button.string-''
sizeThe size of the button.stringsm, lg'lg'
typeThe type of the component to render.stringlink, router-link, button'button'
variantThe visual style variant of the button.stringprimary, success, danger, icon'primary'
versionThe version of the button.stringprimary, outline'primary'
isDisabledDisables the button when true.boolean-false
loadingShows a loading spinner when true.boolean-false
prependIconIcon name to display before the button text.string-null
appendIconIcon name to display after the button text.string-null
linkPathURL or route path for the link or router-link.string-'#'
iconSizeSize of the icons.string-'24px'
iconColorColor of the icons.string-''

vue
<MobstraButton />