Installation
npx kinetic-ui-cli@latest add Props
Pass liquid fill color, viscosity, and spring stiffness parameters.
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { PhysicsDropButton } from "@/components/creative/physics-drop-button";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { PhysicsDropButton } from "@/components/creative/physics-drop-button";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<PhysicsDropButton
>
<div>Content goes here</div>
</PhysicsDropButton>
</div>
);
}