Dhileep Kumar GM

Gooey Button

Buttons 20

About

This file imports and renders the GooeyButton. Crucially, it also includes the hidden SVG filter that the CSS relies on to create the merge effect.

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

Code

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

Usage.tsx

import GooeyButton from "@/components/ui/gooey-button";

export default function DemoOne() {
  return (
    <div className="App">
      {/* This SVG filter is essential for the effect. 
        It's hidden but referenced by the CSS `filter` property.
      */}
      <svg xmlns="http://www.w3.org/2000/svg" version="1.1" style={{ display: 'none' }}>
          <defs>
              <filter id="gooey">
                  <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
                  <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7" result="goo" />
                  <feBlend in="SourceGraphic" in2="goo" />
              </filter>
          </defs>
      </svg>
      
      <GooeyButton />
    </div>
  );
}

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    2K
  • Woven Light Hero

    Woven Light Hero

    1.7K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    1K
  • Mountain Scene

    Mountain Scene

    889
  • HolographicCard

    HolographicCard

    840
  • 3D Animation

    3D Animation

    829
  • Premium Auth

    Premium Auth

    611

More in Buttons

View all
  • Button

    Button

    166
  • Button

    Button

    21
  • Texture Button

    Texture Button

    119
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    86
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19