Turn any image into a cloud of pixels that scatter as visitors scroll — a scroll-triggered disintegration effect you build in Webflow with nothing but a handful of GSAP attributes. There’s no custom code to edit, it works on CMS content, and it stays fully accessible.
The magic is that all the heavy lifting — snapshotting the image, splitting it into canvas fragments, animating each one on scroll — happens behind the scenes. Your job is to mark one element and, if you want, tweak a few optional attributes. Every attribute ships with a sensible default, so you can publish it as-is and fine-tune later.
It’s a showpiece effect, so treat it like one. It’s genuinely heavy under the hood, and it shines brightest on a single hero image or a few key visuals — especially when you layer it over Webflow’s own scroll interactions.
How it works
The concept is simple even though the script behind it isn’t. You mark the element you want to disintegrate with fc-disintegration="component", and on load the script takes a snapshot of that image using the html2canvas library, extracts its pixel data, and rebuilds it as a batch of canvas fragments. It then scatters those fragments across the element, gives each a bit of random rotation and a directional offset, and fades them out on scroll using GSAP ScrollTrigger. You never open the code — you label the piece and, optionally, tune the feel from Webflow’s settings panel.
Two structural rules make it behave. First, the component must have a non-static position — relative, absolute, fixed, or sticky all work. That’s because the generated canvases are absolutely positioned, and absolute positioning is always calculated against the nearest non-static ancestor. Leave the component static and the fragments anchor to the body instead, and the whole thing falls apart visually. Second, wrap the effect in a container with overflow: hidden. The fragments are real DOM elements that occupy space, so without clipping they can spill out of the viewport and trigger layout issues like a stray scrollbar.
Accessibility is handled for you. To work around cross-origin issues the script temporarily removes the original image and reloads it as a base64 blob — but before it does, it captures the original alt text and reassigns it to the image it generates. Screen readers get the same experience they would with the untouched image.
The trade-off is cost. Each instance creates a stack of canvases, walks every pixel, duplicates and scatters them, then animates the lot on scroll. That’s a lot of work, so this is not an effect to spray across an entire CMS grid — reach for it on the visuals that deserve the spotlight, and lean on the optional attributes only when you want tighter control over rotation, distance, cascade, or scroll timing.
How to use it
-
Activate ScrollTrigger. In your Webflow project settings, enable the GSAP ScrollTrigger plugin and save — it’s the one prerequisite the effect relies on.
-
Clone the project. Grab the Webflow cloneable. Full documentation — every attribute, its default, quick examples, and the GSAP docs link — lives at the bottom of the cloned page.
-
Mark your component. On the element you want to disintegrate, add
fc-disintegration="component"and give it a non-static position (relative works perfectly). Inside it, place your image withwidth: 100%so it scales cleanly. -
Clip the overflow. Give the surrounding section
overflow: hiddenso the scattered fragments never leak past the layout. -
Configure the feel (optional). Want fragments to fly farther, spin more, cascade differently, or start and end at a different scroll position? Add any of the
fc-disintegration-*attributes from the configuration reference above. Leave them off and the defaults handle it. -
Publish and test on the live site. The designer’s built-in “preview custom code” doesn’t render this effect reliably, so publish the page and check the real link. It adapts to responsive layouts automatically, because each canvas is generated from the layout as it currently appears.
-
Layer it with native animations (optional). The effect pairs beautifully with Webflow’s own While-scrolling-in-view interactions — animate a heading’s letters or add gradient overlays around the image, and set custom disintegration attributes on the same wrapper to orchestrate timing and intensity together.