Animations

How a screen moves: sections, rows and lists, and what a click mid-way does. Each rule has a picture and a live demo. Most of them morph: one element turns into another, its shape, size and place changing through every frame between, so the eye follows it as the same thing.

16 rules·1 group·1 source

16 rules

ALLAt a glance

ANIMAnimationsHow a screen moves.

ANIM-01

Sections slide the way the list goes. Picking another section in the sidebar slides the content vertically, like switching workspaces: down the list, the old page leaves upward and the new one rises from below; up the list, the reverse.

animations.md
Sections 1 to 2, 2 to 10 and 10 to 9: down the list the page goes up, up the list it goes downSections 1 to 2, 2 to 10 and 10 to 9: down the list the page goes up, up the list it goes down
ANIM-02

A far jump is one slide. From section 2 to 10 the content does not pass through 3 to 9: the two pages slide, and only the highlight crosses the items between them.

animations.md
From 2 to 10 only the two pages slide; the highlight crosses the items betweenFrom 2 to 10 only the two pages slide; the highlight crosses the items between
ANIM-03

The highlight and the content move together. The selection in the sidebar slides from the old item to the new one at the same time as the content, with the same duration and easing.

animations.md
The highlight slides from item to item while the pages slide, both ending togetherThe highlight slides from item to item while the pages slide, both ending together
ANIM-04

Depth is left and right. Opening a row moves the list out to the left as its page comes in from the right; Back does the reverse. Sections still slide up and down, from a list or from a row's page.

animations.md
A row opens from the right and Back returns from the left; a section picked from a row's page slides verticallyA row opens from the right and Back returns from the left; a section picked from a row's page slides vertically
ANIM-05

On a row's page, its own section is Back. Clicking the section the open row belongs to steps back out to its list, the way Back does.

animations.md
On a Calendar row's page, clicking Calendar in the sidebar slides back to the Calendar listOn a Calendar row's page, clicking Calendar in the sidebar slides back to the Calendar list
ANIM-06

A list shows each change as movement. An added row opens a gap and fades into it; a removed row fades out and the gap closes; a moved row travels to its new place while the others make room.

animations.md
Rows added at the start and in the middle open a gap, a removed row's gap closes, a moved row travels over the othersRows added at the start and in the middle open a gap, a removed row's gap closes, a moved row travels over the others
ANIM-07

A list change never moves the working row. Rows added or removed above the selected row leave it where it is on the screen, from the first frame to the last; the scroll position takes up the difference (UIM-01). Near the list's end, where the place cannot hold, the view settles in the same frames as the move and is still when it ends, never after.

animations.md
Rows come in above and the selected row stays on the dashed line; with the rule off it drops belowRows come in above and the selected row stays on the dashed line; with the rule off it drops below
ANIM-08

A click mid-way changes course. A click during an animation neither waits for it nor jumps back: everything moves on from where it stands on the screen at that moment.

animations.md
A slide reversed half way, Back pressed half way into a row, a section picked half way into anotherA slide reversed half way, Back pressed half way into a row, a section picked half way into another
ANIM-09

A header opens its message and folds it back. Clicking a folded one-line header opens the message in full; clicking the open header folds it back to its line. The card's height goes from the one to the other and the messages below slide with its edge.

animations.md
Three cards: a folded header opens its message and folds it back, the messages below slideThree cards: a folded header opens its message and folds it back, the messages below slide
ANIM-10

The parts morph, nothing pops. The parts the two layouts share morph into their places in the other one: the avatar shrinks into the line, the time moves beside it, the text glides up at its smaller size, and several lines join into the one line, each to its own place in reading order; a pill keeps its box and words and only its extra words narrow away, covered by its edge, never faded. Opening is the same, backwards. Only what has no place there, the name, the picture, a player, the rest of the text, fades, over the whole movement: never whole on one frame and gone the next.

animations.md
A voice message: its three status lines join into the one line, the pill narrows, the time moves; slowly at 2 sA voice message: its three status lines join into the one line, the pill narrows, the time moves; slowly at 2 s
ANIM-11

The header clicked never moves. It stands still from the first frame to the last, opening or folding, mid-way too; only what is below it moves (UIM-01).

animations.md
The clicked header stays on the dashed line while its message morphs open and foldedThe clicked header stays on the dashed line while its message morphs open and folded
ANIM-12

A moving part lands exactly. Each part is measured where it will be, laid out unseen first, so its last frame is the still state to the pixel: no hop at the end.

animations.md
Left, a time box lands and then corrects itself; right, it is measured where it will be and lands exactlyLeft, a time box lands and then corrects itself; right, it is measured where it will be and lands exactly
ANIM-13

New things arrive whole. A new row or message arrives in its first frame as it will stay, with every tag and badge on it and at its final height; nothing fills in or grows after it lands.

animations.md
Left, a new message jumps in and its Answered tag fills in after; right, it arrives with the tag at its final heightLeft, a new message jumps in and its Answered tag fills in after; right, it arrives with the tag at its final height
ANIM-14

Growing goes through the heights between. A section that opens grows from closed to full through every height between, its content clipped inside, never shown whole for a frame first; closing is the same, backwards.

animations.md
Left, a Sending section is whole for a frame, then grows; right, it grows through every heightLeft, a Sending section is whole for a frame, then grows; right, it grows through every height
ANIM-15

The chosen highlight glides in its final colours. The selection highlight moves from item to item in the colours it ends in, from the first frame to the last; no grey or faded colour on the way.

animations.md
Left, the highlight turns grey on the way to Projects; right, it keeps its own colours all the wayLeft, the highlight turns grey on the way to Projects; right, it keeps its own colours all the way
ANIM-16

Nothing appears or disappears suddenly. No element appears or disappears suddenly; every element appears and disappears smoothly. Best, it morphs (MOTION-01): what comes from something on the screen or goes into it changes its shape, size and place through every frame between, a menu growing out of its button and back into it, a chip opening into its field. Only what has nothing to come from or go into, a toast, a tooltip, fades in as it comes and out as it goes, at the shared speed; never whole on one frame and gone on the next.

animations.md
Left, a menu and a toast pop in and out on one frame; right, the menu grows out of its button and back, the toast fades in and outLeft, a menu and a toast pop in and out on one frame; right, the menu grows out of its button and back, the toast fades in and out