Power-User Systems

Diff Review

A review surface for a patch an agent has proposed. Accept or reject each hunk, fold long runs of unchanged lines away, and flip between unified and split. Switching views does not redraw the diff: every line is a shared element that flies from the stream into its column and back, so you never lose the line you were reading.

Install

Props

What It Demonstrates

Morph
One shape smoothly turns into another shape, e.g. Dynamic Island.
Shared element transition
An element travels and transforms from one position into another, like a thumbnail expanding into a card.
Layout animation
When an element's size or position changes, it animates to the new spot instead of snapping.
Crossfade
One element fades out as another fades in, in the same spot.
Stagger
Animate several items one after another with a small delay between each, creating a cascade.
Accordion / Collapse
A section smoothly expands and collapses its height to show or hide content.
Spatial consistency
Animating so an element keeps its identity and position across states, so users never lose track of where things went.

Related Components

Appears In