Skip to content
Cynco UI

Components · Inputs

InputOTP

One-time-code input built on input-otp: grouped slots with an optional separator.

import { InputOTP } from "@cynco-labs/ui";

Example

Use

Sign-in OTP entry.

Props

maxLength, value, onChange; children InputOTPGroup of InputOTPSlot index, InputOTPSeparator.

Source Demo source Markdown