Skip to content

Input OTP

A one-time code, one box per character. Paste fills every box; Backspace moves back.

Sourcecomponents/input-otp.tsx

Usage

When to use

Use when

One-time codes and PINs

Don’t use when

Free text or numbers of unknown length; use Input