Input Otp
Input Otp: Segmented one-time password input with slot carets and automatic focus advance. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Input Otp
npx motion-ui-skill add input-otpComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxinput-otplucide-reactreacttailwind-merge
Source files
Input Otp
Component from Motion UI: input-otp
Install
npx motion-ui-skill add input-otp
Dependencies
clsxinput-otplucide-reactreacttailwind-merge
Usage
"use client";
import InputOtp from "@/components/craft/input-otp";
export function Example() {
return (
<div className="p-6">
<InputOtp />
</div>
);
}