An OTP input component for verification codes

Interactive Playground
Current Value: ""
Live InputOTP instance3 active props
Props Configurator
3 properties

Appearance

1 prop
maskMask Digits (PIN)

Hides numerical digits with bullet dots (•)

Interactivity

1 prop
disabledDisabled

Disables input slot editing

Options

1 prop
maxLengthOTP Length
def: 6

Total number of verification digit slots

Grouped OTP with Separator

A composable one-time password input with separated groups, active focus rings, and clipboard paste support

Value: 482

Masked Security Pin

Masked input for 4-digit security PINs and credentials

Pin length: 2 / 4

Related Components

Complementary components commonly used alongside Input OTP.