Inform, confirm or guide

A spinner indicates waiting, a drawing checkmark confirms completion and a turning arrow shows a panel opening. Trigger success only after the operation has actually succeeded. An attractive animation should not conceal uncertainty. Pair important outcomes with explanatory text.

Build a coherent family

Align stroke widths, angles, durations and easing. A highly elastic icon beside rigid pictograms can make the interface feel inconsistent. Start with two or three representative components before extending the library. The ten UX examples explain useful triggers and final states.

Match format to complexity

A rotation, short reveal or simple outline can use SVG and CSS. A layered sequence may justify a Lottie player. Account for animation data, player weight and the triggering mechanism. Loading a full player for a tiny arrow is rarely necessary, while a long timeline can become difficult to maintain as hand-written CSS.

Keep meaning without motion

With reduced motion enabled, show the final checkmark or a stable indicator with text. Controls must retain their accessible names and clickable area. Hide decorative artwork from assistive technology when surrounding text already conveys its meaning. Announce important state changes through the component rather than describing successive animation frames.

A studio tip

Define the initial state, the triggering action and the final state before animating the icon.