Button
Tokenised action button with tone variants, sizes, and a loading state.
Inputs, selection, validation, dates, and native form behaviour.
lr-button
import '@aceshooting/lyra-ui/components/lr-button.js';Example
import '@aceshooting/lyra-ui/components/lr-button.js';
<div style="display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;">
<lr-button variant="brand" appearance="accent" style="--lr-button-width:auto;">Save</lr-button>
<lr-button variant="success" appearance="outlined" style="--lr-button-width:auto;">Approve</lr-button>
<lr-button variant="danger" appearance="plain" style="--lr-button-width:auto;">Delete</lr-button>
</div>Related components
- Checkbox — Boolean form control with checked, unchecked, and indeterminate states.
- Checkbox group — Groups related checkboxes into one form-associated, validated multi-select field.
- Code editor — Dependency-free multiline code editing surface with an optional line-number gutter.
- Colour picker — Form-associated native colour input with label, hint, and validation-error chrome.
- Combobox — Filterable single or multi-select pairing a text input with a listbox popover.
- Date input — Date field with an attached calendar popover and an ISO-8601 value.