Motion and sound
When icons play
Hover, click, mount and none.
On this site, every icon preview can be set to play on one of four triggers. Try them on any icon page.
| Trigger | Plays when |
|---|---|
hover | The pointer enters, or the icon gets keyboard focus. The default. |
click | The icon is clicked or tapped. |
mount | The icon first appears. |
none | Only when its parent calls play(), e.g. when a whole button is hovered. |
How the motion works
Each motion is a damped spring kicked by an impulse. The whole icon follows the spring, and each layer follows it again with a short delay and less strength, so pieces trail one another. There are 12 motions: ring, bounce, pop, spin, shake, tilt, float, pulse and a nudge in each direction.
Exported icons bake the same spring into CSS keyframes that play on hover and focus.