<st-icon-button>
JSON type: IconButton
A small, icon-only action button. The icon is default-slotted content (the package has no icon
library dependency), the same convention as st-dropdown/st-menu-grid-item's slot="icon".
Fires a plain native click — no custom event, since a caller just wants an ordinary button.
Usage
import '@sankhyatronics/sankhya-cms/icon-button'; // registers <st-icon-button>
Properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
label | label | string | '' | Accessible name, set as the button's aria-label and its title (tooltip). Required for a control with no visible text. Matches the source component's ariaLabel (renamed: modern browsers already expose a native ariaLabel reflected property on every Element, so reusing that exact name as a Lit reactive property would shadow it). |
disabled | disabled | boolean | false |
See the live examples in Storybook.