A highly engaging list component perfect for portfolio sites or showcases. Hovering over a list item spawns a fluidly animating portal that smoothly tracks the cursor while playing a video preview of the hovered item.
Live Preview
Installation
npx kinetic-ui-cli@latest add video-portalUsage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { VideoPortal } from "@/components/creative/video-portal";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { VideoPortal } from "@/components/creative/video-portal";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<VideoPortal
items{/* value */}
portalSize{10}
/>
</div>
);
}