componentry

Pixel Image Trail

Component 11

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"
    />
  );
}

More by componentry

View all
  • Scroll Choreography

    Scroll Choreography

    1K
  • Collection Surfer

    Collection Surfer

    796
  • Liquid Glass Carousel

    Liquid Glass Carousel

    406
  • Animated Gradient

    Animated Gradient

    371
  • Wheel Carousel

    Wheel Carousel

    366
  • Circuit Board

    Circuit Board

    156
  • Infinite Image Field

    Infinite Image Field

    108
  • Magnetic Dock

    Magnetic Dock

    101