Components
A cursor trail effect that spawns and animates a stream of images interpolated along the mouse movement path.
Loading preview...
"use client";
import { CursorTrail } from "@/components/ui/cursor-trail";
export default function CursorTrailPreview() {
return (
<div className="relative w-full h-[400px] flex items-center justify-center overflow-hidden bg-background text-foreground">
<p className="z-10 text-xl font-base tracking-tight pointer-events-none">
Wiggle your mouse around.
</p>
<CursorTrail />
</div>
);
}