Public attributes and slots
label (Chip), aria-label, checkable, checked and disabled; default content overrides visible label text. Only checkable mode has a native button and pressed state; it does not submit a form value. Class, hidden and dir use native host behavior. Boolean attributes use presence, including empty and false-valued attributes.
| Attribute | Contract |
|---|---|
label | Visible disclosure/tab/workflow label or the default accessible name; a non-empty string. |
aria-label | Optional accessible-name override on the native semantic owner. Omit to use label. |
checkable | Absent: passive span. Present: native toggle button with aria-pressed. |
checked | Initial toggle state. Presence means pressed; native clicks retain local state. |
disabled | Presence makes the relevant native owners unavailable, including disabled="false". |
class | Optional consumer styling classes on the host; public internal hooks use part. |
hidden | Native host visibility; present removes the component from layout and keyboard navigation. |
dir | Native text direction: ltr or rtl, inherited when omitted. |
Tab reaches checkable buttons. Enter/Space and pointer click toggle pressed state through the native button. Passive chips do not enter the tab order.