Input OTP
Accessible one-time password component with copy paste functionality.
Dependencies
About
Input OTP is built on top of input-otp
by @guilherme_rodz.
Installation
Usage
Examples
Pattern
Use the pattern
prop to define a custom pattern for the OTP input.
Separator
You can use the <InputOTPSeparator />
component to add a separator between the input groups.
Controlled
You can use the value
and onChange
props to control the input value.
Enter your one-time password.