2026-11-02 · Workflow
Good icon animation comes from a purpose, a duration and an easing curve, not from the effect itself. Here are the numbers, the techniques and an accessibility checklist.
Before you touch a timeline, write one sentence that says what the motion communicates. "The check mark confirms the save." "The bell shakes to show a new message." "The arrow nudges right to suggest the card opens." If you cannot finish that sentence, the animation is decoration, and decoration is the first thing users learn to ignore.
Most useful icon animation falls into four jobs: confirming an action (a check drawing itself), drawing attention (a short shake or pulse), showing state (a spinner, a toggle changing), and guiding the eye (an arrow nudge on hover). Pick one job per icon. An icon that spins, pulses and changes colour at once does three jobs badly.
The second decision is the trigger. Icon animation usually runs on one of four triggers: on load, on hover or focus, on click, or on a loop. Loops suit loading states only. A looping icon anywhere else competes with the content next to it, and on a busy page it will pull attention away from the thing the user came to read.
Timing does more for the feel of an animation than the effect itself. For small UI icons, these ranges are a reliable starting point:
- Hover feedback: 150–250 ms. - Click or toggle confirmation: 200–400 ms. - A check mark or line drawing itself: 300–600 ms. - Attention shake or pulse: 400–800 ms total, played once or twice, not forever. - Loading spinner: one full rotation in 0.8–1.2 s, linear.
Anything under about 100 ms reads as a flicker rather than motion. Anything over about 700 ms on a hover effect makes the interface feel like it is lagging behind the pointer.
For easing, use ease-out for things entering or responding to the user, because they start fast and settle. Use ease-in for things leaving. Reserve linear for spinners and continuous rotation, where a constant speed is the point. A bounce or overshoot (a cubic-bezier with a value above 1) can suit a playful brand, but keep the overshoot small, around 10% past the target, or the icon looks like it is wobbling.
Not every icon animates well, and the shape tells you which technique to use.
Transforms (translate, rotate, scale) work on any icon. They move the whole shape or a grouped part of it: a bell swinging from its top point, a gear rotating 360 degrees, an arrow sliding 4 px to the right. They are the cheapest option and the safest, because they do not change the path data.
Stroke drawing works on outline icons whose paths have a stroke and no fill. The line appears to be drawn by animating the stroke dash offset from the path's full length down to 0. It is ideal for check marks, underlines and signatures. It does nothing useful on a solid filled glyph, which has no stroke to draw.
Opacity and colour fades suit state changes, such as a heart outline fading into a filled heart. Fade between two layers rather than trying to morph one into the other.
Path morphing changes one shape into another, for example a menu icon becoming a close icon. It only works when both shapes have the same number of points in the same order, so it is the technique most likely to look broken. If a morph looks wrong, replace it with a rotate of two lines, which is how most menu-to-close icons are built anyway.
A practical rule: if the icon is a single closed shape, animate transforms and opacity. If it is made of separate strokes, animate the strokes. Group parts that must move together, and set the transform origin to the point the real object would pivot from, such as the top of a bell or the centre of a gear.
You can write SVG animation by hand with CSS keyframes or SMIL, and for a single icon that is fine. It gets slow when you have a set of twenty icons and each one needs its own pivot point, timing and trigger. A generator removes the keyframe work and leaves the design decisions to you.
In VEXURA, the animation tool at /animate takes a text description of the motion you want. Describe it the way you wrote your one-sentence purpose above, and include the numbers: "check mark draws in over 400 ms, ease-out, plays once" gives a more usable result than "nice success animation". Animating a generated icon or logo mark from within the icon and logo tools is a Pro feature and is still in beta, so check the current state of the tool before building a workflow around it.
Whatever tool you use, treat the first output as a draft. Open it, play it five times, and check three things: does the pivot point look physically right, does the motion finish cleanly on the icon's resting state, and does it still read at the size you will use it, usually 16 to 32 px. An animation that looks good at 200 px often turns into a smudge at 20 px, because small details like a 1 px offset disappear.
Animation can cause real problems for some users, including people with vestibular disorders who feel unwell from large movement. Two habits cover most of the risk.
First, respect the reduced motion setting. Operating systems let people ask for less movement, and your CSS can read that with the prefers-reduced-motion media query. Inside it, turn off loops and large movements, and keep a simple opacity change or a static end state instead. The icon should still communicate the same thing, such as a check mark that appears instantly rather than drawing itself.
Second, never rely on the animation alone to carry meaning. A shaking error icon must also have a visible message or a colour and shape change that persists after the motion stops. Anything that moves for more than five seconds and starts automatically should also be pausable, which is another reason to avoid ambient loops.
Keep flashing out entirely. Content that flashes more than three times in one second can trigger seizures in some people, so no icon animation should blink that quickly.
Animated icons can be heavier than you expect. As rough numbers, a clean static icon with a handful of paths is often well under 1 KB. Adding inline CSS keyframes might add a few hundred bytes. Embedding a long frame-by-frame sequence or a large number of separate animated elements can push a single icon into tens of kilobytes, and then you are paying that cost for every instance on the page.
A few habits keep it light. Animate transform and opacity rather than width, height or path data, because browsers can handle those without redoing layout on every frame. Limit the number of animated elements to what the motion needs, usually between one and four per icon. Pause animations on icons that are off screen, and run hover effects only on hover.
If you need the animation in a format that cannot run SVG, such as an email or a social post, convert it. The converter at /convert handles SVG conversion to other formats, though a converted raster file will not keep the animation, so export a looping GIF or video from your animation tool when you need motion there.
Finally, test on a real mid-range phone, not only your desktop. If an animation drops below about 30 frames per second there, simplify it: fewer animated parts, shorter duration, or a static fallback.
Here is the whole process applied to one icon.
Purpose: confirm that a document saved. Trigger: after the save finishes, played once. Shape: a circle outline with a check mark inside, both strokes of 2 px on a 24 px grid.
Plan the timing in two beats. First, the circle fades in and scales from 90% to 100% over 200 ms with ease-out. Second, starting at 150 ms, the check mark draws itself over 350 ms with ease-out. The total is 500 ms, which is long enough to notice and short enough that the user does not wait for it.
For reduced motion, skip both beats and show the finished check mark immediately. For the resting state, leave the icon on screen for about two seconds, then fade it out over 200 ms, so the confirmation does not linger.
Test at 24 px and at 48 px. If the check mark's draw looks jittery at 24 px, make sure its stroke has rounded line caps and that the path starts at the short end of the tick. That is a two-minute check, and it catches most of the small problems.
- Can you state in one sentence what the motion communicates? - Is the duration inside the range for its job (150–250 ms for hover, 300–600 ms for a drawing)? - Does the icon end on its normal resting state? - Is the pivot point where the real object would pivot? - Does a reduced-motion version exist? - Is the animation readable at your smallest size, usually 16–24 px? - Is it limited to transform and opacity where possible? - Does the icon still make sense with the animation switched off?
If you can answer yes to all eight, the icon is ready. If you can't, fix the first no before polishing anything else, because the first failure is usually the one that makes the animation feel off.