AI analysis A UI motion demo comparing two ways of layering a shake animation on a floating notification bell.
A comparison layout places two notification bell buttons and explanation cards symmetrically on a white background, with a pill-shaped trigger button at the bottom center. Red count badges sit on light gray circular bells, and the cards pair a red failure icon and a green success icon with monospaced code text in matching colors for contrast. Pressing the blue gradient new message button increments the badge, shakes the bell and spreads a ripple shadow, where the left bell loses its floating motion while the right one keeps floating as it shakes. It is a useful reference for notification icon feedback motion and for handling overlapping animations side by side.
minimal · light-mode · skeuomorphic
claude-opus-5-5 · 2026-12-03 07:04 · Confidence 0.75
Original post Design Engineering Tip:
Ever wondered why an idle animation suddenly snaps back when you trigger another interaction?
It’s often because both animations target the same property. By default, the later animation replaces the earlier one.
Instead of replacing your floating animation, compose the second one on top.
animation:
float 6s ease-in-out infinite,
shake 250ms ease;
animation-composition: replace, add;
131 likes · 4 reposts
x.com/gabriell_lab/status/2093712246115287470