Liquid Motion

Gooey filter creates liquid blob animation around text.

Main Features of Liquid Motion

How to Use Liquid Motion in Next.js

Installation Guide for Liquid Motion

Props

Customize the component with these props

PropertyTypeDefaultDescription
text
stringFLUIDITYText to display
backgroundColor
stringbg-zinc-950Background color of the component
textColor
stringtext-whiteColor of the text
textSize
stringtext-8xlSize of the text
blob1Color
stringbg-indigo-500Color of the first blob
blob1Size
stringw-32 h-32Size of the first blob
blob2Color
stringbg-purple-500Color of the second blob
blob2Size
stringw-24 h-24Size of the second blob
blob1Duration
number5Animation duration for first blob
blob2Duration
number7Animation duration for second blob
blurAmount
number10Blur amount for the gooey filter
filterId
stringgooID of the SVG filter
className
stringAdditional CSS classes

When to Use

Perfect for artistic web experiences, high-end portfolios, and Next.js applications that want a fluid, organic feel. Use this React component to create text that appears to be trapped in or interacting with a liquid 'lava lamp' background.

Best Practices

Optimize for performance in large-scale applications by keeping the `blurAmount` at a reasonable level (e.g., 10-15px). Follow React best practices by using high-contrast colors for the `textColor` against the moving blobs. Maintain scalable component architecture by scoping the SVG gooey filter correctly to avoid affecting other elements.

Why This Component Matters in Modern UI Development

Gooey filters and organic blob motion are at the cutting edge of modern UI design. This reusable React component provides a sophisticated implementation of complex SVG filters, adding visual depth and semantic authority to your real-world application architecture.

Frequently Asked Questions

QCan I change the blob colors?

Absolutely! The `blob1Color` and `blob2Color` props allow you to match the liquid motion to your brand's palette.

QIs the movement random?

The blobs follow a defined path with varying durations, creating an organic, non-repeating feel.

QDoes it work on Safari?

Yes, this implementation uses standards-compliant SVG filters that are widely supported across all modern browsers.

Liquid Motion - React Text Animation & Reveal | Uilora