ham7a311

Phosphor Glass Button

Heroes

About

A liquid-glass pill button whose rim light turns to face the cursor as it approaches, leans toward the pointer, tracks a light pool across its surface, and ripples outward on press.

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

Code

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

Usage.tsx

"use client";

import { PhosphorGlassButton } from "@/components/ui/phosphor-glass-button";

export default function Demo() {
  return (
    <div className="flex min-h-full w-full flex-wrap items-center justify-center gap-8 bg-[#0e0d0b] p-10">
      <PhosphorGlassButton arrow="→">See the work</PhosphorGlassButton>
      <PhosphorGlassButton variant="text" arrow="↗">
        Download résumé
      </PhosphorGlassButton>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    253
  • Route Globe

    Route Globe

    195
  • Glass Tiles

    Glass Tiles

    183
  • Orbit Ring Stats

    Orbit Ring Stats

    82
  • Glyph Swell

    Glyph Swell

    78
  • Fan Deck Card

    Fan Deck Card

    77
  • Ask Bar

    Ask Bar

    63
  • Glass Ribbons

    Glass Ribbons

    53

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • App Integration Celestial Hero

    App Integration Celestial Hero

    17
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Hero

    Hero

    1.4K