Button
The thing you press. Sized from its own font-size, so a button in a larger context grows without a breakpoint.
| Class | Effect | Type |
|---|---|---|
.btn | The thing you press. Sized from its own font-size, so a button in a larger context grows without a breakpoint. | root |
.btn-outline.btn-dash.btn-soft.btn-ghost.btn-link.btn-classic.btn-surface | Sets variant, one class per value. | axis variant |
.btn-primary.btn-neutral.btn-info.btn-success.btn-warning.btn-error | Sets color, one class per value. | axis color |
.btn-square.btn-circle | Sets shape, one class per value. | axis shape |
.btn-wide.btn-block | Sets width, one class per value.
| axis width |
.btn-xxs.btn-xs.btn-sm.btn-md.btn-lg.btn-xl.btn-xxl.btn-xxxl | Sets size, one class per value. | axis size |
.btn-active | Draw it as the current choice without it being pressed. | flag |
.btn-disabled | For an <a>, which cannot carry the disabled attribute. | part |
.btn-ripple | Arm the press wave; the wave itself is drawn by the component. | part |
.btn-ripple-wave | One wave, positioned at the press point and removed once the family's motion on it has run (at once if it draws none). | part |