One-time code input

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

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

lr-otp-input

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

Read di guide (for English)

Components wey relate

  • Radio button — One-choice control wey look like button instead of circle, often inside lr-radio-group.
  • Token input — Form field wey gather removable tokens like tags or recipients.
  • Date and time field — Put date and time, and choose time zone if you need am.
  • Duration field — Put or change how long something take, with units like hours and minutes.
  • Repeat schedule field — Change the rules for when something dey repeat and see the next dates ahead of time.
  • Button — Action button wey get different tone, size and loading state from design tokens.