
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@exmg/exmg-button
Advanced tools
Material button including loading (spinner) animation when loading attribute is set to element. This button extends the material @material/mwc-button.
<exmg-button> Material button including loading (spinner) animation when loading attribute is set to element. This button extends the material @material/mwc-button.
npm install @exmg/exmg-button
<exmg-button disabled>This button is disabled</exmg-button>
<exmg-button outlined>This button is outlined</exmg-button>
<exmg-button dense>This button is dense</exmg-button>
<exmg-button unelevated>This button is unelevated</exmg-button>
<exmg-button loading>This button is in loading state</exmg-button>
<exmg-button progress="45">This button is showing progress</exmg-button>
| Name | Description |
|---|---|
| default | Element to show within the button |
| Name | Type | Default | Description |
|---|---|---|---|
loading | boolean | false | Whether or not the button is in loading state |
progress | number | undefined | Whether or not the button displays progress |
unelevated | boolean | false | Creates a contained button that is flush with the surface. |
outlined | boolean | false | Creates an outlined button that is flush with the surface. |
dense | boolean | false | Makes the button text and container slightly smaller. |
disabled | boolean | false | Disabled buttons cannot be interacted with and have no visual interaction effect. |
fullwidth | boolean | false | When true, the button is expanded to fit the entire available space. |
icon | string | '' | Icon to display, and aria-label value when label is not defined. |
label | string | '' | Label to display for the button, and aria-label. |
None
None
| Target | Variable | Value |
|---|---|---|
| Spinner Size | --exmg-spinner-size | 28px |
| Spinner Color | --exmg-spinner-color | grey |
| Spinner Stroke Width | --exmg-spinner-stroke-width | 3px |
| Progress Color | --exmg-button-progress-color | #89c8ff |
| Progress Direction | --exmg-button-progress-direction | rtl |
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.