FLIP Layout Animation
Also called Layout animation, First-Last-Invert-Play
Elements glide smoothly to their new positions and sizes after the layout changes.
Use for
Filtering grids, reflowing lists
Variants
- reorder
- grid to list
- auto-layout resize
Also called Layout animation, First-Last-Invert-Play
Elements glide smoothly to their new positions and sizes after the layout changes.
Filtering grids, reflowing lists
Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.
Add a "FLIP Layout Animation" (also called a layout animation or First-Last-Invert-Play) to [where].
When the layout changes, each element should glide from its old position to its new one instead of jumping, quick at first and easing gently into place.
Animate with transforms only so the page doesn't reflow on every frame, and switch straight to the new layout for users who prefer reduced motion.