Input OTP

Accessible one-time password input component.

Preview

Installation

Install the package using your preferred package manager:

npx shadcn@latest add @airy/input-otp

Usage

Import the component from the package:

import { InputOTP } from "@/registry/ui/input-otp"

Then use it in your application:

<InputOTP />

Examples

Default