AI analysis A motion demo comparing dock items that scale continuously by cursor distance with items that scale only on direct hover.
Two white rounded docks are stacked vertically in the center of a light gray background, each with a label below, and a slow motion toggle button sits at the bottom in a single column comparison layout. The palette uses only white and stepped grays, and items darken as they grow so that size and lightness together express distance. The upper dock gradually enlarges neighboring items in proportion to cursor distance so they rise above the dock, while the lower dock enlarges only the single item under the cursor at once. The slow motion button inverts to black when active. It is a useful micro-interaction reference that intuitively shows the difference when designing hover effects as continuous rather than binary responses.
minimal · light-mode · monochrome
claude-opus-5-5 · 2026-12-03 07:10 · Confidence 0.75
Original post Since Opus 4.8 is out and more and more designers are getting into Design Engineering, I thought I’d share some of the interaction patterns I use most often:
Use proximity, not just hover. When the cursor gets close, nearby elements can subtly scale and darken based on distance.
It makes interfaces feel more responsive, less binary, and way more alive
onpointermove = e =>
document.querySelectorAll(".dock>*").forEach(el => {
const r = el.getBoundingClientRect();
const t = Math.max(0, 1 - Math.abs(e.clientX - r.x - r.width/2) / 120);
el. style.scale = 1 + t * .5;
});
9,262 likes · 431 reposts
x.com/gabriell_lab/status/2060336070059864461