Skip to content

InputOTPSlot ​

Overview ​

An individual OTP character slot that displays the current character and an animated caret when active.

Theme entry: InputOTPSlot

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
indexnumberyesThe zero-based index of this slot within the OTP input.
classstring|array|objectundefinedAdditional CSS classes to apply to the slot element.

Source ​

client/lib/controls/input-otp/InputOTPSlot.vue