Basic
Here’s the basic usage of the Input OTP component.
Preview
Code
Installation
CLI
Manual
npx hq-kit add otp
Separator
To include a separator between the OTP input groups, use the InputOTPSeparator
component.
Preview
Code
Controlled
To control the Input OTP component, utilize the value
and onChange
props.
Preview
Code
Enter your one-time password.