Props & events
Attributes & behavior classes
Color intent is limited to primary (default), .fab-secondary, .fab-subtle, and .fab-danger — there is no success/warning/info variant. Shape (.fab-extended) and elevation (.fab-lowered) are the other axes.
| Attribute / class | Purpose |
|---|---|
aria-label | Required for accessibility, since a plain FAB has no visible text label |
aria-controls (with .toggle-target) | Wires the FAB up to open a modal/drawer/etc., same as a .btn trigger |
Events
A FAB has no events of its own — like .btn, it triggers whatever overlay it targets via .toggle-target/.action-*.
This component is purely presentational — it emits no JavaScript events.