Dev Design Library

OTP Input

One-time code cells on glass with a gliding lens, paste and SMS autofill, and success / error states.

OTP Input preview
Library
Opaline
Framework
React
Type
ui
License
MIT
Install
npx shadcn@latest add @opaline/theme @opaline/glass-otp
Files
  • registry/opaline/ui/opaline/glass-otp.tsx
  • registry/opaline/ui/opaline/liquid-glass.tsx
  • registry/opaline/lib/glass-refraction.ts
  • registry/opaline/hooks/use-active-indicator.ts
  • lib/utils.ts
Source
https://github.com/deepraj21/opaline

Categories

More from Opaline