Files
hyperframes/docs/catalog/components/input-otp.mdx
T

39 lines
1012 B
Plaintext

---
title: "Input OTP"
description: "An OTP input primitive with slot reveal and active focus ring"
---
# Input OTP
An OTP input primitive with slot reveal and active focus ring
`ui-primitive` `remocn-port` `input-otp` `field`
<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/input-otp.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/input-otp.png" autoPlay muted loop playsInline />
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add input-otp
```
</CodeGroup>
## Details
| Property | Value |
| --- | --- |
| Type | Component |
## Files
| File | Target | Type |
| --- | --- | --- |
| `input-otp.html` | `compositions/components/input-otp.html` | hyperframes:snippet |
## Usage
Open `compositions/components/input-otp.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.