soralabs

Pixelated Image Reveal

Component 99

About

An image card that reveals a second image through a randomized pixel grid on hover, powered by Motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pixelated Image Reveal to your project and fits it to your theme.

Code

How Pixelated Image Reveal is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { PixelatedImageReveal } from "@/components/ui/pixelated-image-reveal";

export default function PixelatedImageRevealDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background p-8">
      <PixelatedImageReveal
        alt="Pixelated image reveal demo"
        aspect="square"
        className="mx-auto w-72"
        gridSize={7}
        pixelColor="#ff4c24"
        stepDuration={0.3}
      />
    </div>
  );
}

Dependencies

More by soralabs

View all
  • Scroll Gallery

    Scroll Gallery

    236
  • Dia Text Reveal

    Dia Text Reveal

    153
  • Dock Nav

    Dock Nav

    148
  • Text Reveal Block

    Text Reveal Block

    118
  • Text Roll

    Text Roll

    62
  • Custom Cursor

    Custom Cursor

    51
  • Cursor Bubble

    Cursor Bubble

    30
  • Section CTA

    Section CTA

    30