Swatch picker
Single-select picker over a small, fixed set of color swatches with a radiogroup contract built in.
Inputs, selection, validation, dates, and native form behavior.
lr-swatch-picker
import '@aceshooting/lyra-ui/components/lr-swatch-picker.js';Related components
- Switch — Boolean toggle-switch form control with on/off switch semantics for native forms.
- Textarea — Multiline plain-text input with auto-grow, validation, and form-control chrome.
- Time input — Locale-aware segmented time field with an attached column picker; the browser-native input[type=time] experience is lr-native-time-input.
- Time range — Two-handle brush for selecting a start and end range over a numeric domain.
- Toggle — Self-managed two-state button that flips an option on or off with aria-pressed semantics.
- Toggle group — Groups toggle buttons behind one tab stop with multiple or clearable single selection.