Otp Boxed Input

Otp Boxed Input: Full email verification card with icon header, destination text, animated square cells, progress dots, shake-on-error, and resend countdown. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Otp Boxed Input

npx motion-ui-skill add otp-boxed-input

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Source files

Otp Boxed Input

Full email verification card with icon header, destination text, animated square cells, progress dots, shake-on-error, and resend countdown.

Install

npx motion-ui-skill add otp-boxed-input

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-merge

Usage

"use client";

import { OtpBoxedInput } from "@/components/otp/otp-boxed-input";

export function OtpBoxedInputDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <OtpBoxedInput />
    </div>
  );
}

API Reference

OtpBoxedInput

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category