Skip to main content

Motion

We use transitions to add a sense of playfulness and delight to our interface. Transitions also hint at functionality and inform the user's mental model of how an interface functions.

Easing

ValueSCSS VariablesDescription
cubic-bezier(.4, 0, .7, .2)$gel-motion-ease-inStart the animation slowly, and finish at full speed.
cubic-bezier(0, 0, .2, 1)$gel-motion-ease-outStart the animation at full speed, then finish slowly.

Demo

Hover the blocks to view the motion

Ease In
Ease Out

Duration

ValueSCSS VariablesUsage
.6s$gel-duration-slowLarge UI objects. navigation slide in
.3s$gel-duration-mediumMedium UI objects. Toast
.15s$gel-duration-fastSmall UI objects. button, link and form input hover effects.

Demo

Hover the blocks to view the motion

Fast
Medium
Slow