# inputs otp, 21st-ai2 component by ai2

A segmented one-time-password (OTP) input made of individually focused digit boxes with auto-advance, backspace and arrow-key navigation, plus sibling styled 

> Page: https://ui.eneawork.it/comp/21st-ai2/inputs-otp
> Markdown: https://ui.eneawork.it/comp/21st-ai2/inputs-otp.md

- Library: [21st-ai2](/components/lib/21st-ai2)
- HTML page: https://ui.eneawork.it/comp/21st-ai2/inputs-otp

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-ai2/inputs-otp.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
