OTP Input Collection with SMS Autofill, Paste and a Resend Timer in React and HTML
- from @weinc
Free OTP input fields in React and plain HTML: SMS autofill with one-time-code, paste of the full code, auto-advance, error state and a resend countdown.
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 @weinc/otp-input-collection-with-sms-autofill-paste-resend-timer-in-react-and-htmlRegistry dependencies0
The CLI adds no other registry items with this one.
Packages0
No npm packages are installed with it.
