Components/Actions & Inputs

Input OTP

input-otp
npx shadcn@latest add @karan-ui/input-otp
input-otp•Actions & Inputs

Input OTP Interactive Canvas

Accessible, segmented one-time password and verification code input supporting default, outline, and ghost variants, 5 density tiers aligned with Button and Input, dynamic radius presets, and seamless copy-paste.

Canvas

Props Controls

4 props
'default' | 'outline' | 'ghost'
'xs' | 'sm' | 'default' | 'lg' | 'xl'
number
boolean
Disabled