Input OTP Boxes

NewUnlimited

One-time-code boxes that auto-advance, accept a pasted code, step back on Backspace, pop each digit in and shake or hop on error or success.

inputotpverificationcodepaste

Installation

Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/input-otp-boxes.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.

Build it with AI

Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.

More inputs

All 14 inputs →