DesignVaultAI
effect · scroll

Sticky Picture-in-Picture

An inline video that detaches into a floating mini-player once its slot scrolls out of view: the element is reparented into the scroll frame's corner and a FLIP animation (measured first/last rects → translate+scale) makes it glide there; scrolling back docks it with the reverse glide, and the close button dismisses it until the slot returns.

DesignVault · MCP