Forms

Input OTP

One-time password input with segmented fields.

Input OTP

Segmented one-time password input.

-

API Reference

PropTypeDefaultDescription
maxLengthnumber--Number of OTP slots.
valuestring--Controlled value.
onChange(value: string) => void--Called on value change.

Usage

import { InputOTP } from "@doss/tetris-ui";