OTP Input
- from @beui
- by Saurabh <saurabh10102@gmail.com>
One-time-code input with a gliding focus ring, digits that roll in per slot, error shake and a success check draw.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @beui/otp-inputRegistry dependencies0
The CLI adds no other registry items with this one.
