# Glass OTP Input

> A one-time-passcode input made of refractive glass cells, with a single accessible input underneath for paste and SMS autofill, success/error states, and a sliding glass lens that tracks the active cell.

- Author: [deepraj21](https://21st.dev/@deepraj21)
- Library: deepraj21
- License: MIT
- Tags: OTP, One Time Code, Input, Verification, Glass
- Live preview: https://21st.dev/@deepraj21/components/glass-otp

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/deepraj21/glass-otp?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/otp.md
