Skip to main content

menus and action

Button

Buttons help vendors initiate actions, from opening their store to accepting and marking orders as ready for delivery.

Preview

<amg-button variant="primary" role="danger">
Button <amg-icon name="iconName">
</amg-button>
PropertyDefaultDescription
variantprimarySpecifies the kind of button: primary secondary tertiary
roledefaultSpecifies the button role: default danger success info
sizemediumSpecify button size: x-small small medium large
disabledfalseSpecify whether the button should be disable: true false
loadingfalseSpecify whether the Button should show a loading indicator: true false