Skip to content

6 interactions · 300 icons

Animated icon interactions

Every icon ships with the micro interaction it was designed for: it loops, toggles or replays on click, or plays on hover. The React component wires it up and respects reduced motion, and the interaction prop switches any icon to another one.

Choosing an interaction

  • State that lasts, such as loading or an active alert: loop.
  • An on/off control, such as mute, menu or show password: click toggle, with active for controlled state.
  • A one-shot action, such as send, save or refresh: click replay.
  • A hint of what a link opens: hover, which reverses when the pointer leaves.
  • Toolbars and lists people sweep across: hover replay, which finishes on its own.
  • Links that invite a longer look, such as social icons: hover loop.

Reduced motion

The React component follows prefers-reduced-motion and updates when the setting changes. Taps on touch screens never start hover animations.

  • loop: the icon does not autoplay and stays on its static first frame.
  • click-toggle: a click switches to the other state immediately, without the animation in between.
  • click-replay: clicks still reach your handler but the animation does not play.
  • hover: hovering does not play the animation.
  • hover-replay: hovering does not play the animation.
  • hover-loop: the icon stays static while hovered.