soralabs

Pixelated Image Reveal

Component 94

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

    201
  • Dia Text Reveal

    Dia Text Reveal

    143
  • Dock Nav

    Dock Nav

    133
  • Text Reveal Block

    Text Reveal Block

    105
  • Text Roll

    Text Roll

    60
  • Custom Cursor

    Custom Cursor

    47
  • Section CTA

    Section CTA

    28
  • Text Reveal (Mask)

    Text Reveal (Mask)

    27