Radio

Form-associated single-choice control for picking one option from a set

Inputs, selection, validation, dates, and native form behaviour.

lr-radio

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

Optional dependency: lr-radio-group

Read guide (English)

Related components

  • Radio group — Labelled, keyboard-navigable group of single-choice radio buttons.
  • Rubric form — Configurable scoring, category, and comment rubric with a submit-and-next flow for working through an eval queue.
  • Select — Closed-list dropdown for choosing one option from a fixed set of choices.
  • Signature pad — Accessible form control for drawing a signature with pointer or keyboard input.
  • Slider — Numeric range control for settings like an LLM temperature or a volume level.
  • Swatch picker — Single-select picker over a small, fixed set of colour swatches with a radiogroup contract built in.