On/off switch
Form control wey toggle true or false with native switch meaning.
Input fields, choices, validation, dates and native form behaviour.
lr-switch
import '@aceshooting/lyra-ui/components/lr-switch.js';Components wey relate
- 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.
- Browser time input — Browser time picker wrapped with Lyra label, hint and validation; alternative to lr-time-input.