UI95

Input Otp

shadcn input-otp reskinned for UI95.

Examples

A6 digits
B3 + 3 separator
6
4
0
Cdisabled
1
9
8
1
Dinvalid
4
0
4
Ealphanumeric
A
1

Installation

npx shadcn@latest add https://www.ui95.dev/r/input-otp.json

Run it in a Radix shadcn project that already has the UI95 theme.

API reference

InputOTP

PropTypeDefault
containerClassNamestring-

InputOTPGroup

No props of its own. It forwards the props of the element or primitive it wraps.

InputOTPSeparator

No props of its own. It forwards the props of the element or primitive it wraps.

InputOTPSlot

PropTypeDefault
index *number-

Uses

Updated Nov 5, 2026