About
An image reveal effect made of canvas-drawn square fragments that paint in around the cursor and fade out into a bounded pixel trail.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pixel Image Trail to your project and fits it to your theme.
Code
How Pixel Image Trail is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PixelImageTrail } from "@/components/ui/pixel-image-trail";
export default function PixelImageTrailDemo() {
return (
<PixelImageTrail
src="https://cdn.21st.dev/assets/mirror/cc/cc526b36e5fb297171b983db891951fd6e6be5231bc30a6533c69ca02bfdb7e6.jpg"
alt="A green mountain lake beneath a cloudy sky"
className="h-screen w-full"
/>
);
}







