OTP Field
- from @mizzle
- by mizzle <https://mizzle.saddy.me>
A one-time code made of separate slots. Typing moves on to the next slot, Backspace goes back, a paste fills them all, and each digit arrives with a short fade. Slots match Input. Built on Base UI.
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 @mizzle/otp-fieldComponent source
No live preview has been built for this component yet.
Registry dependencies1
- @mizzle/input
