Metaball Goo

Liquid blob simulation with SVG goo filter creating metaball effect.

Main Features of Metaball Goo

How to Use Metaball Goo in Next.js

Installation Guide for Metaball Goo

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
stringbg-zinc-950Background color of the component
title
stringMetaball GooTitle text displayed
buttonText
stringHover MeText on the hover button
mainDamping
number30Main blob spring damping
mainStiffness
number500Main blob spring stiffness
lagDamping
number15Lag blob spring damping
lagStiffness
number150Lag blob spring stiffness
inactiveSize
number30Size of blobs when inactive
activeSize
number100Size of blobs when active
blob1Color
stringbg-indigo-500Color of the first blob
blob2Color
stringbg-indigo-400Color of the second blob
className
stringAdditional CSS classes

When to Use

Excellent for creative agencies, liquid-themed branding, and experimental modern web applications. This production-ready React UI component is perfect for creating a 'gooey' interaction where the cursor appears to split or merge with other elements.

Best Practices

Maintain consistent spacing within your design system by ensuring the `inactiveSize` is small enough to not distract from the content. Follow React best practices by using the `lagStiffness` to create a beautiful, organic following motion. Optimize for performance by ensuring the SVG filter is only applied to the cursor container.

Why This Component Matters in Modern UI Development

Metaballs and gooey filters are a hallmark of organic modern UI design. This customizable UI component gives you a production-level implementation of complex SVG filters, helping you build a real-world application architecture that feels fluid and cohesive.

Frequently Asked Questions

QHow does the gooey effect work?

It uses a combination of blur and high-contrast color matrix filters in SVG to 'melt' separate circles into a single fluid shape.

QCan I add more blobs for a trail?

The current implementation uses two blobs for a clean 'meta-drag' effect, but the system can be extended to support a full trail of liquid segments.

QDoes it work on mobile?

Yes, it supports standard touch events, though the gooey effect is most striking when paired with precise mouse movement.

Metaball Goo - React Magnetic Cursor & Hover Effects | Uilora