Input OTP
Accessible one-time password input for authentication.
The Input OTP component provides a user-friendly way to enter one-time passwords. It features automatic focus management, paste support, and keyboard navigation. Built from scratch using React and native HTML elements. No dependencies on any UI library.
Quick Install
Install via shadcn/ui CLI
Examples
Default
.
Disabled
.
Custom Length (4 digits)
.