Props & events
Attributes & behavior classes
Color intent (.btn-primary/success/warning/danger/info/subtle), style (.btn-outline, .btn-text — filled is default), and the disabled state are the configuration surface.
| Attribute / class | Purpose |
|---|---|
disabled | Native attribute — dims the button and disables pointer events |
aria-disabled="true" | Same effect as disabled, for <a class="btn"> elements |
aria-controls | Paired with .toggle-target — points at the overlay this button opens |
Events
A button has no events of its own — it triggers whatever overlay component it targets via .toggle-target/.action-*.
This component is purely presentational — it emits no JavaScript events.