Inputs
OTP Input
#input#otp#form
Enter your code
Check your inbox for the 6-digit code
Try pasting: 123456
implementedInfinityUI component
This component is fully implemented in InfinityUI and wired into the docs and registry flow.
Installation
Use the registry command to add the component source, and install any package dependencies if needed.
Infinity Registry
Install the component source into your project with the shadcn CLI.
npx shadcn@latest add https://infinityui-pearl.vercel.app/r/otp-inputPackage Dependencies
Install the npm packages used by this component source.
No additional npm packages required.Component Code
Copy and paste this code into your component file.
tsx