The FluidDistortionGallery is a React Three Fiber component that takes multiple image textures and transitions between them using a custom GLSL noise displacement shader, mimicking liquid physics.
Live Preview
Installation
npx kinetic-ui-cli@latest add | Prop | Type | Default | Description |
|---|
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { FluidDistortionGallery } from "@/components/creative/fluid-distortion-gallery";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { FluidDistortionGallery } from "@/components/creative/fluid-distortion-gallery";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<FluidDistortionGallery
images="example"
/>
</div>
);
}