
Hover Stack
Components
A weighted image-grid hover effect where each image is nudged in the pointer's direction of travel, then settles back with inertia.
Inertia Image turns pointer movement into atmosphere: images follow movement with weight.
Use it on creative homepages, portfolios, campaign pages, and brand experiments where the cursor can carry the visual language. Keep it off dashboards, checkout, forms, and utility-heavy product screens.
The risk in production is restraint. Treat the cursor layer as throwaway: switch it off on touch, keep focus states visible, and let nothing about clicking depend on it. If the page falls apart once you remove the effect, the cursor was doing work it should not own.
import InertiaImage from "@/components/effects/inertia-img"; const Page = () => { return ( <> <InertiaImage/> </> );}; export default Page;An interior design studio can use Inertia Image on its projects index, where a grid of room photographs leads to each case study. When the pointer passes over an image, it is nudged in the direction of travel with physical weight, then settles back into place.
The outcome is tactility. The grid responds like a set of real prints on a table, while each project tile remains a normal link to the full case study.
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 Inertia Image on coarse pointers.
Switch it off for coarse pointers and leave touch native; anything revealed by the cursor needs a visible or tap-accessible alternative.
| Prop | Type | Default | Description |
|---|---|---|---|
strength | number | 1 | Pointer inertia velocity multiplier. |
rotation | number | 0 | Maximum image rotation while moving. |
scale | number | 1 | Hover scale applied to images. |
duration | number | 0.4 | Motion smoothing duration. |
Use it when a creative or portfolio page needs images following movement with weight not on utility flows.
It does not switch itself off: on touch devices images still nudge when tapped, with a smaller velocity. Disable it on coarse pointers yourself if you want native touch behaviour only.
Only when the same content is visible or accessible without pointer movement. Cursor-only reveals are not suitable for critical information.
Native click targets, visible focus, hover states, and modal stacking all have to keep working underneath it.
Inertia Image has no reduced-motion mode: images keep nudging and wobbling on hover. It never replaces the native cursor.
Need a custom effect? Tell us what to create.