ai 2

Glass OTP Input

Forms 2

About

A one-time-password / verification-code input made of frosted-glass digit cells, with five decorative surface variants (frost, tint, smoke, crystal, depth) and sizes from sm to xl.

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

Code

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

Usage.tsx

"use client";

import InputOtpGlass, { TintOtp } from "@/components/ui/input-otp-glass";

export default function InputOtpGlassDemo() {
  return (
    <div className="flex min-h-[240px] w-full items-center justify-center p-10">
      <TintOtp length={6} defaultValue="482913" />
    </div>
  );
}

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    33
  • Styled Toggle Switches

    Styled Toggle Switches

    22
  • Styled Progress Bars

    Styled Progress Bars

    17
  • Styled Badges

    Styled Badges

    16
  • Particle Toggles

    Particle Toggles

    14
  • OTP Pin Input

    OTP Pin Input

    12
  • File Input

    File Input

    11
  • Combo Kbd

    Combo Kbd

    11

More in Forms

View all
  • Premium Auth

    Premium Auth

    577
  • Login 1

    Login 1

    68
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Login Card

    Login Card

    36
  • Login 2

    Login 2

    15
  • Change Password Form

    Change Password Form

    11
  • Form

    Form

    3