Exmg button extends the material 3 md buttons but adds loading (spinner) animation when loading attribute is set to element. This button extends the material @material/web/button.
npm install @exmg/exmg-button
<exmg-text-button disabled loading>This button is disabled and loading</exmg-text-button>
<exmg-text-button loading>This button is disabled and loading</exmg-text-button>>
Name | Type | Default | Description |
---|---|---|---|
loading |
boolean |
false | Whether or not the button is in loading state |
For other options see the m3 docs: