1<InputOTP length={4} onComplete={(otp) => console.log(otp)} />2<InputOTP length={6} className="gap-3" />Installation
npx zeroui@latest add input-otpProps
| name | type | default | description |
|---|---|---|---|
| length | number | 6 | - |
| onComplete | (otp: string) => void | - | - |
| onChange | (otp: string) => void | - | - |
| className | string | "" | - |