Motion
Short, consistent motion that respects reduced motion.
- Anything that moves into place: use the Fern Default easing and duration tokens.
- New motion needs a reduced-motion state in which every state still reads.
The short version
If you read nothing else on this page, read these.
Easing
One curve, Fern Default, for anything moving into place, and three others for their one job each.
Easing race
Each curve at the duration it ships with. Run it again and watch the finish.
Curve
Time runs left to right, progress bottom to top. The ball below moves with the same easing.
Icon hovers and the sidebar indicator. Eases in and out, so nothing snaps.
In the product
The motion that already ships. Reach for these before adding a keyframe.
Segmented control
The pill slides, 200ms ease-out. Click a segment.
Sidebar indicator
One marker, 250ms on the Fern Default easing. Click an item.
Icon hovers
450ms on the Fern Default easing, each icon its own gesture. Hover a tile.
Agent mark
Ripples through its shapes while the agent works, then settles.
Reduced motion
Under prefers-reduced-motion, every state still reads. Keep the end state, drop the travel.
Opening a menu
Full motion scales the menu out of its trigger. Reduced motion keeps the fade and drops the travel.
Rules
Every rule on one list. Open one for the reasoning behind it.
01One easing, three durations
--icon-motion-easefor anything moving into place; 200ms for a pill or indicator, 300ms for a surface scaling in, 450ms for icon hovers.02Motion explains a change
Something slides because it moved, fades because it appeared, scales because it opened. Nothing moves to decorate.03Reduced motion is a state, not a switch-off
Underprefers-reduced-motion, keep the end state and drop the travel: the fade without the slide, the pill in place.04Reuse the existing motion
Icon hovers, the segmented pill, the sidebar indicator andAgentMarkalready move. Reach for them first; a new keyframe is fine with a reduced-motion state, and review flags a designer.