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>
| Property | Default | Description |
|---|---|---|
| variant | primary | Specifies the kind of button: primary secondary tertiary |
| role | default | Specifies the button role: default danger success info |
| size | medium | Specify button size: x-small small medium large |
| disabled | false | Specify whether the button should be disable: true false |
| loading | false | Specify whether the Button should show a loading indicator: true false |