Skip to content

Motion

The curves and durations the components' CSS transitions use.

Curves

Colour changes use the plain ease-out keyword.

out
cubic-bezier(0.22, 1, 0.36, 1)

Entering, settling.

in
cubic-bezier(0.4, 0, 1, 1)

Leaving.

in-out
cubic-bezier(0.65, 0, 0.35, 1)

Moving between two places.

roll
cubic-bezier(0.76, 0, 0.24, 1)

Two things trading places.

glide
cubic-bezier(0.2, 0, 0, 1)

Following an anchor, layout.

sheet
cubic-bezier(0.32, 0.72, 0, 1)

A surface sliding in or out.

standard
cubic-bezier(0.4, 0, 0.2, 1)

An indicator reaching for its target.

hold
cubic-bezier(0.3, 0, 0.75, 1)

A fill that tracks a press held down.

Durations

All on 50ms steps.

100ms

A press going down. A tooltip appearing.

150ms

Hover, colour and focus outlines. Menus and dialogs closing.

200ms

Toasts. Text changing colour as a tab or row is chosen.

250ms

Menus, popovers and dialogs opening. A tooltip gliding to the next control.

300ms

A card's shadow deepening under the pointer.

350ms

Layout: content resizing or reflowing.

400ms

A press releasing. The trailing edge of a moving tab indicator.

Reduced motion

Transitions carry motion-reduce:transition-none.