
Square Translate
Scroll
A scroll-driven image reveal where scattered pixel blocks assemble into sharp visuals, with subtle parallax movement adding depth to each transition
Image Pixel Reveal transforms image entrances into a sequence of animated pixel fragments. As users scroll, scattered square blocks give way to the underlying image, progressively revealing the full visual instead of displaying it through a conventional fade or slide.
The effect combines pixel-style masking with subtle parallax movement, adding depth as images enter and move through the viewport. In a multi-image gallery, each visual reveals as scrolling progresses, creating a natural rhythm across the collection.
Designed for creative portfolios, photography websites, editorial galleries, and campaign pages, Image Pixel Reveal makes scrolling part of the visual storytelling without compromising the sharpness of the final images.
import ImagePixelReveal from '@/components/effects/image-pixel-reveal' const page = () => { return ( <> <ImagePixelReveal imageSrc="https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/portal-carousel/crimson-drift.jpg" className="h-screen w-full" /> </> )} export default pageConsider a creative studio showcasing a collection of photography and digital artwork. Instead of displaying a static gallery, the website introduces each image through an animated pixel reveal as visitors scroll.
The images gradually emerge from fragmented square blocks, with subtle parallax movement creating additional depth. A staggered gallery layout allows different visuals to reveal at different points, maintaining interest as visitors explore the collection.
The result is a more distinctive portfolio experience that gives individual images their own entrance without interrupting the natural scrolling flow.
Image Pixel Reveal is less suitable for content-heavy pages, dashboards, or interfaces where images need to be visible immediately. The fragmented entrance adds a visual step that may slow down information discovery.
Avoid applying it to every image on a long page. The effect works best when used selectively, allowing important visuals to stand out without making scrolling repetitive.
Keep the pixel reveal lightweight, particularly when several images enter the viewport together. Use optimised image assets, efficient masking, and restrained parallax movement to avoid unnecessary rendering work.
Limit animation updates to relevant visible elements and avoid expensive layout calculations during scrolling. On lower-powered devices, reduce pixel complexity or simplify the transition to preserve smooth scrolling.
Provide meaningful alt text and keep essential information independent of the animation. Images should remain understandable if the reveal does not run or is interrupted.
On mobile, reduce pixel density and parallax distance where necessary. Respect prefers-reduced-motion by displaying the complete image immediately or using a minimal fade.
| Prop | Type | Default | Description |
|---|---|---|---|
gridSize | number | 24 | Size of each pixel cell, in px. |
edgeHeight | number | 0.3 | How wide the scattered pixel edge is, from 0 (clean line) to 1. |
direction | string | down | Which way the reveal travels across the image. |
parallax | number | 0.5 | Demo only: strength of the scroll parallax on each image. 0 turns it off. |
scrub | boolean | false | Tie the reveal to scroll position. Off plays it once on enter. |
duration | number | 1.4 | Length of the reveal in seconds when not scrubbing. |
Image Pixel Reveal is a React scroll effect that progressively reveals images through animated square pixel fragments as users move through a page.
As an image enters the viewport, pixel-style fragments reveal portions of the image until the complete visual becomes visible. The effect also includes subtle parallax movement.
No. The pixel fragments form the transition. Once the reveal completes, the image appears sharp and fully visible.
Yes. The demonstrated effect includes subtle image movement alongside the pixel reveal, adding depth during scrolling.
The pixel reveal should be removed or simplified, allowing images to appear immediately or through a minimal fade.
Image Pixel Reveal focuses on photographic and raster-image galleries with square-fragment reveals and subtle parallax. SVG Pixel Reveal is designed around revealing vector graphics through a pixel-style mask.
Need a custom effect? Tell us what to create.