A premium WebGL shader effect built with react-three-fiber that distorts an image with a liquid ripple and RGB split on hover. Perfect for project thumbnails and high-end galleries.
Live Preview
Installation
npx kinetic-ui-cli@latest add liquid-distortionUsage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { LiquidDistortion } from "@/components/creative/liquid-distortion";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { LiquidDistortion } from "@/components/creative/liquid-distortion";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<LiquidDistortion
imageUrl="example"
alt="example"
rippleAmount{10}
/>
</div>
);
}