OTP Input

The OTP Input component is used to take input.

1. Import

KUMUI exports 1 OTPInput-related components:

import { OTPInput } from "@rohitgadekar/kimui";

2. Usage


3. API

3.1 OTP Input

AttributeTypeDescriptionDefault
length

string

Defines the otp length-
onComplete

ReactNode

Function returns otp value after entering-