Dev Design Library

OTP Input

A one-time-code input whose characters roll into place behind a caret that slides from slot to slot.

OTP Input preview
Library
Rare UI
Framework
React
Type
ui
License
Commons-Clause+MIT
Dependencies
motion
Install
npx shadcn@latest add swamimalode07/rare-ui/otp-input
Files
  • components/ui/otp-input.tsx
  • lib/utils.ts
Source
https://github.com/swamimalode07/rare-ui

Categories

More from Rare UI