Classes list
Every class Button recognizes, straight from the @flickui/css source.
| Class | Purpose |
|---|---|
.btn | Base class — required on every button |
.btn-label | Wraps the visible text (hidden automatically during .is-loading) |
.btn-leading / .btn-trailing | Icon slots before/after the label |
.btn-spinner | Loading-state spinner overlay (shown only while .is-loading is present) |
.btn-full | Stretches the button to 100% width of its container |
.btn-icon-only | Square, padding-free sizing for an icon-only button |
.btn-action | Marks an <a class="btn"> so the UA's visited-link color is suppressed |
.toggle-target | Behavior hook — opens/toggles the component referenced by aria-controls/href |
.action-close / .action-cancel / .action-confirm | Behavior hooks for buttons inside a dialog/overlay |
.is-loading | Runtime state — hides the label/icons and reveals .btn-spinner |