The LiquidButton leverages SVG filters (feGaussianBlur and feColorMatrix) applied to a Framer Motion layer to create an incredibly organic, fluid animation effect when hovered. Now completely upgraded with 3 fluid interaction variants.
Live Preview
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { LiquidButton } from "@/components/creative/liquid-button";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { LiquidButton } from "@/components/creative/liquid-button";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<LiquidButton
color="example"
speed{10}
scale{10}
>
<div>Content goes here</div>
</LiquidButton>
</div>
);
}