Skip to content
MOTION LAB / Stable API

moveWhileHover

Learn more

Hover animations for mouse and pen. Plays forward on pointer enter and reverses on leave. Touch has no hover state, so pair it with moveWhileTap for press feedback — the card below uses the lift and press presets together.

Lift
Press this card — touch uses moveWhileTap
Next: moveWhileTap →

Controls Make it yours

200ms
100ms2000ms
Easingease-out
demo.htmlhtml
<article
  moveWhileHover="lift"
  moveWhileTap="press"
  moveDuration="200ms"
  moveEasing="ease-out">
  …
</article>