Basic
Preview
Code
Installation
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