Colour swatch picker

Choose one colour from small fixed swatches, with radio-group behaviour.

Input fields, choices, validation, dates and native form behaviour.

lr-swatch-picker

import '@aceshooting/lyra-ui/components/lr-swatch-picker.js';

Read di guide (for English)

Components wey relate

  • On/off switch — Form control wey toggle true or false with native switch meaning.
  • Multi-line text — Plain text field for many lines, with auto-grow, validation and form label.
  • Time input — Time field in segments based on locale, with column picker; lr-native-time-input use browser picker.
  • Time range — Brush with two handles to choose start and end across number range.
  • Toggle button — Button wey manage two states by itself, using aria-pressed for on or off.
  • Toggle group — E gather toggle buttons under one tab stop for many choices or one choice wey fit clear.