React Layout Animation

Eleven components that animate between two layouts, not between two styles. A card that expands into a dialog, a grid that reflows when an item leaves, a panel that resizes without its contents jumping. Layout animation means measuring the before and after positions and interpolating the difference. Done right it keeps the element continuous, so the user follows one object instead of watching one disappear and another appear.

11 components · live previews

In This Collection

The Terms

Layout animation
When an element's size or position changes, it animates to the new spot instead of snapping.

Related Collections