About
6-digit OTP verification card with a gliding Liquid Glass focus lens, spring physics, paste autofill, and resend timer.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Liquid Glass OTP to your project and fits it to your theme.
Code
How Liquid Glass OTP is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import React from "react";
import { LiquidGlassOtp } from "@/components/ui/liquid-glass-otp";
export function DemoOne() {
return (
<div className="relative flex min-h-[460px] w-full items-center justify-center overflow-hidden bg-gradient-to-br from-slate-100 via-zinc-50 to-sky-50/70 p-6 dark:from-zinc-950 dark:via-zinc-900 dark:to-sky-950/30">
<LiquidGlassOtp
length={6}
destination="alex.morgan@company.com"
onVerify={async (code) => {
await new Promise((resolve) => setTimeout(resolve, 650));
return code !== "000000";
}}
/>
</div>
);
}
export default DemoOne;







