FLIP (First, Last, Invert, Play) animates a layout change cheaply: measure where an element was, let it jump to its new place, move it back with a transform, then animate the transform to zero.
Layout properties like top, width or grid position are slow to animate. FLIP turns any layout change into a transform animation, which the browser can run on the compositor at 60 fps.
It is how lists re-sort with each row sliding to its new place, and how a card can grow into a full page.
See it live
Pocket Delete (Baize): Delete a row and its ball is struck across the cloth into a corner pocket; the rows below roll up to close the gap.
Feature Voting (Hearsay): Every vote is a push pin that flies from the button into the card, and the requests re-sort by votes with a FLIP reflow as they climb.
Float-away Delete (Helium): Press the bin and a balloon inflates on the row, ties on and carries it up and away while the rows below close the gap.
Package-manager Tabs (Mono): Switch from npm to pnpm and shared words slide to their new place while the ones that differ roll out and in; every tab set on the page follows.
Fix List (Backlog): Tick a fix and it slides out, the rest close the gap without a jump and the health ring fills by its share.
Scan Results (Seek): Results slide to their new rank as the query changes while a scanning light passes down the list, inking the matched words as it reaches them.