Aakash

Liquid Glass Login

Forms 16

About

A sign-in card made of real refracting liquid glass over slow, layered flames and rising embers. The card, fields and buttons bend and colour-fringe what is behind them, and the whole form can be dragged anywhere. Email, password, forgot password, and Google, Apple and GitHub sign-in.

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

Code

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

Usage.tsx

import { GlassLogin } from "@/components/ui/liquid-glass-login";

export default function GlassLoginDemo() {
  return (
    <GlassLogin>
      {/* behind the card, so the glass bends it when you drag the card over */}
      <p className="absolute inset-x-0 bottom-0 m-0 p-4 text-center text-[12px] text-white/60 [text-shadow:0_1px_4px_rgb(0_0_0/0.8)]">
        by{" "}
        <a
          href="https://aakashmehra.com/ref/glasslogin"
          target="_blank"
          rel="noopener noreferrer"
          className="text-white/80 underline-offset-4 hover:underline"
        >
          aakashmehra.com
        </a>
      </p>
    </GlassLogin>
  );
}

Dependencies

More by Aakash

View all
  • Coffee Pour Menu

    Coffee Pour Menu

    232
  • Holographic Business Card

    Holographic Business Card

    120
  • Disc Reveal List

    Disc Reveal List

    64
  • Nearby Walk Menu

    Nearby Walk Menu

    54
  • Liquid Glass Button

    Liquid Glass Button

    31
  • Sports Car Dashboard Menu

    Sports Car Dashboard Menu

    21
  • Interactive Sniper Scope

    Interactive Sniper Scope

    18
  • Retro Slide to Unlock

    Retro Slide to Unlock

    7

More in Forms

View all
  • Premium Auth

    Premium Auth

    536
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    17
  • Login Card

    Login Card

    6
  • Book A Demo 1

    Book A Demo 1

    78
  • Text Field

    Text Field

  • Split Sign In Form

    Split Sign In Form

    81
  • Input

    Input

    14