Dev Design Library

Otp Input

One box per digit for a verification code, with paste and SMS autofill support and a shake for a wrong code.

Otp Input preview
Library
EaseUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @easeui/otp-input
Files
  • components/motion/otp-input.tsx
  • lib/ease.ts
  • lib/utils.ts
Source
https://github.com/rjcuff/easeui

Categories

More from EaseUI