Dev Design Library

Otp Input

Six slots mirror one real input, so paste and SMS autofill just work.

Otp Input preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/otp-input.json
Files
  • src/lab/components/otp-input.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab