OTP Input
Secure multi-digit input for one-time passwords with paste support, validation states, and full keyboard control.
Installation
Install the OTP Input component using the nocta-ui CLI:
npx @nocta-ui/cli add otp-inputImport the component:
import { OTPInput } from '@/components/ui/otp-input';Examples
Default OTP Input
API Reference
Prop
Type