
Interactive Blur Reveal
WebGL
A fading image trail cursor effect where ghosted visuals follow the pointer and dissolve across the page.
Phantom Image Trail turns pointer movement into atmosphere: images ghost behind the cursor path.
It belongs on creative homepages, portfolios, campaign pages, and brand-led experiments where the cursor can become part of the visual language. It does not belong on dashboards, checkout, forms, or utility-heavy product screens.
The risk in production is precision. The cursor layer must stay disposable, disable on coarse pointers, preserve visible focus, and never hide click intent. If removing the effect breaks the page, the cursor has been promoted past its pay grade.
import PhantomImageTrail from "@/components/effects/phantom-image-trail"; const page = () => { return ( <> <div className="w-screen h-screen relative bg-[#f8fdfe]"> <PhantomImageTrail images={images} enableRotation={true} idleSpawn={false} idleDelay={300} cursorOffsetX={-12} cursorOffsetY={-12} popOutDuration={0.8} fadeOutDuration={0.5} idlePopOutMultiplier={2.2} idleFadeMultiplier={1.8} imageMultiplier={3} /> </div> </> );}; export default page; const images = [ { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-11.jpg", alt: "Gradient 1" }, { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-12.jpg", alt: "Gradient 2" }, { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-13.jpg", alt: "Gradient 3" }, { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-14.jpg", alt: "Gradient 4" }, { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-15.jpg", alt: "Gradient 5" }, { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-01.jpg", alt: "Gradient 6" }, { src: "https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-02.jpg", alt: "Gradient 7" },]; A fashion photographer can use Phantom Image Trail on a portfolio homepage. As the pointer moves, images from recent shoots pop in along its path, tilting slightly as they grow, then shrink and fade away, so a visitor sees a quick sequence of the work before choosing a series to open.
The outcome is momentum. The trail builds interest in the portfolio, while the series list and navigation stay fully accessible underneath.
Not for dashboards, checkout, forms, dense product UIs, or any flow where precision beats atmosphere.
Use one cursor layer, throttle movement with requestAnimationFrame, avoid full-screen filter effects, and disable Phantom Image Trail on coarse pointers.
Disable on coarse pointers and preserve normal touch behavior. Cursor-only reveals must have visible or tap-accessible alternatives.
| Prop | Type | Default | Description |
|---|---|---|---|
imageMultiplier | number | 3 | Sets how many copies of the image set can be in flight. |
triggerDistance | number | 100 | Distance the cursor must move before spawning a new image. |
lerpFactor | number | 0.1 | Cursor smoothing factor. |
popOutDuration | number | 0.8 | Image pop-in duration. |
fadeOutDuration | number | 0.5 | Image fade-out duration. |
startScale | number | 0.2 | Image starting scale. |
endScale | number | 1 | Image settled scale. |
exitScale | number | 0 | Image exit scale. |
enableRotation | boolean | true | Enables random image tilt. |
maxStartRotation | number | 35 | Maximum starting tilt. Needs Enable Rotation on. |
maxExitRotation | number | 15 | Maximum exit tilt. Needs Enable Rotation on. |
idleSpawn | boolean | false | Spawns images while the cursor rests. |
idleDelay | number | 300 | Delay before idle spawning starts. Needs Idle Spawn on. |
idlePopOutMultiplier | number | 2.2 | Multiplier for idle pop-in timing. Needs Idle Spawn on. |
idleFadeMultiplier | number | 1.8 | Multiplier for idle fade-out timing. Needs Idle Spawn on. |
Use it when a portfolio or campaign page needs images ghosting behind the cursor path — not on utility flows.
On coarse pointers it spawns an image wherever you tap, by default. Set enableMobileTap={false} to stop tap spawning, or disableOnMobile to stop the trail and idle spawning there.
Only when the same content is visible or accessible without pointer movement. Cursor-only reveals are not suitable for critical information.
It must preserve native click meaning, visible focus, hover states, and modal layering.
Phantom Image Trail has no reduced-motion mode: images keep spawning as the pointer moves, because the motion is the effect. Leave it unmounted if reduced motion should mean no trail.
Need a custom effect? Tell us what to create.