Back to components
ComponentCardFree

Pixelate Hover Card React component

A photo card that breaks into a chunky pixel mosaic on hover and resolves into a second photo, or comes into focus from pixels, drawn on a canvas in stepped block sizes with a live pixel-size readout, touch and keyboard support and a reduced-motion crossfade.

About the Pixelate Hover Card component

Pixelate Hover Card turns a hover into a small piece of digital theatre: the photo breaks into a chunky pixel mosaic, then resolves into a second photo. It can also run the other way round, resting as pixels and coming into focus when you point at it, or simply pixelate on hover.

The mosaic steps through fixed block sizes rather than blurring smoothly, which is what gives it that 8-bit snap, and a small readout in the corner counts the pixel size as it changes. It's drawn on a canvas, so it stays light even with several cards on the page.

When to use it

Use it for portfolio series where a second frame rewards curiosity, for creative studios, game and music sites, or anywhere a slightly glitchy, digital feel fits the brand.

Skip it for product photos people need to inspect; the effect hides detail on purpose.

Installation

Add the Pixelate Hover Card component to your project with the shadcn CLI. It lands in components/pixelate-hover-card.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/pixelate-hover-card

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Card components

Card Shuffle Stack
Free
Image Box
Free
Distorted Photo Card
Free
Flip Box
Free
Bouncing Card Fan
Free
Focus Frame