OTP input

Segmented field for entering a one-time verification code, with built-in SMS autofill.

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

lr-otp-input

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

Read guide (English)

Related components

  • Radio button — Single-choice control styled as a button rather than a circle, usually grouped into a segmented control with lr-radio-group.
  • Token input — Form-associated field that collects a list of removable tokens like tags or recipients.
  • Date and time input — Enter a local date and time in a named time zone.
  • Duration input — Enter or edit a duration in units such as hours and minutes.
  • Recurrence input — Set and edit the rules for a repeating schedule.
  • Button — Tokenised action button with tone variants, sizes, and a loading state.