Back to components
ComponentEffectFree

Image Mask Reveal React component

An image that unveils itself through a moving mask — a circle opening from where the pointer came in, falling blinds, a cascade of tiles, a diagonal wipe or a parting curtain — on hover or as it scrolls into view, settling from a slight zoom.

About the Image Mask Reveal component

Image Mask Reveal holds an image back behind a solid cover and lets it out through a moving shape: a circle that opens from exactly where your pointer came in, blinds falling away one strip at a time, a cascade of tiles, a diagonal wipe or a curtain parting from the middle. As it opens, the photo eases back from a slight zoom.

It can play once as it scrolls into view, or on hover, closing again toward wherever the pointer leaves. Keyboard focus opens it too, and on phones a tap reveals it.

When to use it

Use it for portfolio and case-study grids, editorial images, team photos or product shots where the moment of reveal adds to the story.

Pick one variant per grid for a calm page, or mix them, as in the demo, for a playful index.

Installation

Add the Image Mask Reveal component to your project with the shadcn CLI. It lands in components/image-mask-reveal.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/image-mask-reveal

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Effect components

Click Burst
Free
Entrance Reveal
Free
Magnetic Button
Free
Scroll Snap Sections
Free
Orbiting Border Glow
Free
Parallax Section
Free