Back to components
ComponentCardFree

Color Reveal Grid React component

A grid of black-and-white photos where colour floods in from the exact point the pointer enters a tile, a little colour seeps into the neighbouring tiles, and it drains back out toward where the pointer leaves; captions slide up over each revealed photo.

About the Color Reveal Grid component

Color Reveal Grid shows a set of photos in black and white and lets colour pour in where you point. The colour spreads out from the exact spot your pointer crosses into a tile, a little of it seeps into the tiles next door, and when you move away it drains back out toward where you left.

Each revealed photo zooms in slightly and shows its caption. It works with a tap on phones and with the keyboard, and tiles can link somewhere.

When to use it

Use it for photography portfolios, travel and hospitality galleries, project grids, team photos or any set of images that look good in monochrome until someone shows interest.

It needs colourful photos to pay off; with images that are already muted, a plain hover zoom is enough.

Installation

Add the Color Reveal Grid component to your project with the shadcn CLI. It lands in components/color-reveal-grid.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/color-reveal-grid

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

Related components

Project Status Tile
Free
Document Folder Stack
Free
Frosted App Icons
Free
Swinging ID Badge
Free
Infinite Marquee
Free
Cards Hover Marquee