Pro Every tool, icon and stickerAll of Pro

  • All 90 tools
  • Every icon style
  • Icon & sticker pack ZIPs
Go Pro
HubToolify
Blog

Animated SVG Icons: How to Add Moving Icons to a Website

10 Nov 2026 By 6 min read

Animated SVG Icons: How to Add Moving Icons to a Website

A small movement tells people something happened. A bell that rings when a message arrives, a check mark that draws itself after a save, a gear that turns while settings apply. On HubToolify, every one of the 4,811 icons in the library can be animated like this, in seven different motions. You can preview any of them free, then add the result to a website as an animated SVG or to an app as Lottie.

This guide covers the seven motions, how to get an animated icon, and how to put it on a page.

The seven motions

Each icon is split into its parts: the body of a bell and its clapper, the flap and the envelope of a mail icon. Five motions move those parts one after another. Two move the whole icon.

Motion What moves Works well for
Draw on Strokes draw themselves, hold, then fade Check marks, signatures, charts, routes
Pop in Parts spring into place one by one Gifts, badges, anything that "arrives"
Cascade Parts drop in from above, in order Mail, downloads, files, lists
Wiggle Each part rocks on its own centre Bells, phones, alarms, notifications
Float Parts bob gently, a beat apart Rockets, clouds, balloons, planes
Heartbeat The whole icon beats Hearts, likes, live and record buttons
Spin The whole icon turns, then rests Gears, refresh, sync, loading

Every motion loops without a jump: the entrances build the icon, hold it, then leave, so the next cycle starts as cleanly as the last one ended. Draw on needs an icon drawn with strokes; the other six work on every icon.

Four animated icons: a mail icon drawing itself on, a gift popping in, an upload arrow cascading in and a bell wiggling

Get an animated icon in three steps

  1. Open an icon. Find it in the icon library and pick a style and colour. The Line style is free.
  2. Choose Animate it. All seven motions play side by side, in your colours. The panel opens on the motion that suits the icon: a gear spins, a bell wiggles, a heart beats.
  3. Download or edit. Download the animation as an animated SVG, a Lottie JSON file or a .lottie file, or open it in Hub Motion Studio to change the timing.

To browse instead of searching, the animated icon library shows the whole library moving, each icon in its best-fit motion. Point at an icon to play it, or switch to Loop to play them all, then open any icon for all seven motions.

Four more animated icons: a cloud floating, a heart beating, a gear spinning and a calendar check drawing itself on

Add an animated icon to your website

As an image, with no JavaScript

The animation lives inside the SVG file, so the file plays wherever it is shown:

<img src="/icons/bell-wiggle.svg" width="48" height="48" alt="">

The same file works inline in your HTML, or as the source of an image in a CMS. Use an empty alt when the icon decorates a label that already says what it means (W3C WAI), and a short description when the icon stands alone.

In an app or a site that already uses Lottie

Download Lottie JSON and play it with any Lottie player. With lottie-web:

<div id="bell" style="width:48px;height:48px"></div>
<script src="https://cdn.jsdelivr.net/npm/lottie-web@5.12.2/build/player/lottie.min.js"></script>
<script>
  lottie.loadAnimation({
    container: document.getElementById('bell'),
    renderer: 'svg',
    loop: true,
    autoplay: true,
    path: '/animations/bell-wiggle.json'
  });
</script>

The .lottie file is the same animation packed into one smaller dotLottie file, for players that support the format. To check a file before you ship it, open it in Lottie Preview; Lottie Optimizer trims it further, and Lottie to GIF or Lottie to MP4 turn it into a format for places that take neither.

Size, speed and motion settings

  • Small. Each animated SVG is one file. The examples on this page are 22–118 KB as written and 2–7 KB once gzipped, which is how a web server normally sends them.
  • No script. Animated SVG uses CSS animation inside the file, so nothing has to load or run for it to play.
  • Respectful of motion settings. Visitors who ask their device to reduce motion see the icon whole and still. The file holds the frame where the drawing is complete instead of playing the animation.
  • Use motion where it means something. One animated icon beside a status change is clear. A page where everything moves at once is tiring. Play an animation on an event (a save, a new message) or on hover, and leave the rest of the page still.

Change the motion in Hub Motion Studio

Edit in Hub Motion Studio opens the motion as an ordinary project: one layer per part of the icon, each on its own centre, with keyframes, easing and a timeline. Change the timing, slow one part down, or add a second motion, then export SVG, CSS, Lottie, GIF or MP4. Editing is free; exporting is part of HubToolify Pro.

Free and Pro

Free Pro
Preview all seven motions on every icon Yes Yes
Edit in Hub Motion Studio Yes Yes
Line style Yes Yes
The Pro icon styles (Solid and Duotone included), animated No Yes
Download animated SVG, Lottie and .lottie No Yes

Animated icons are part of the same HubToolify Pro plan as every icon style, sticker and illustration. There is nothing extra to buy for animation.

Related tools

Further reading

Discussion

0 comments

Join the discussion Your email is never published.
3,000 characters max

This site is protected by reCAPTCHA

No comments yet. Be the first to say something.

Try them

Tools in this article

More like these in video & audio tools, or browse every tool.

More reading

Related posts