Malay Patel

Otp Input

Component

About

One-time code field whose boxes merge and scramble into a pass or fail result. Free component from uibrik (uibrik.com).

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Otp Input to your project and fits it to your theme.

Code

How Otp Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { OTPInput } from "@/components/ui/otp-input";

export default function Demo() {
  return (
    <div className="flex h-screen w-full items-center justify-center">
      <OTPInput />
    </div>
  );
}

Dependencies

More by Malay Patel

View all
  • Halftone

    Halftone

    6
  • Balloon Button

    Balloon Button

    5
  • Ascii Field

    Ascii Field

    3
  • Fold Toolbar

    Fold Toolbar

    2
  • Halftone Horizon

    Halftone Horizon

    2
  • Oil Slick

    Oil Slick

    2