Please enable JavaScript to view this site.

Animated icons are very useful and attractive. A button that grows a little on mouseover and changes color when you click on it seems much more real and functional than one that just changes the appearance of the mouse cursor. It can also make your pages look more professional, provided you don't overdo it.

You can animate both your own and imported SVG icons

In addition to animating icons that you create yourself with SnipSVG, you can also animate imported icons. See Pimp Pictures with SVG Icons for details on sources for free icons and details on what you need to know when you use them.

What you can animate on third-party SVG icons

This depends on the individual icon. In most cases you will always be able to use Move, Show/Hide, Scale and Rotate, because those apply to the entire SVG image. Whether Opacity, Fill and Outline work will depend on how the SVG icon is configured internally.

How to make animated icons

The key here is to create a single-element project in SnipSVG.

Procedure

1.Create a new SnipSVG image with a single element or third-party SVG icon.

2.Make sure that the background is transparent in the Picture Size pane (click on the background of the canvas to display this).

3.Apply animations as you like.

4.Save the image as an SVG.

Tip:
Make sure that the Picture Frame is the same size as the icon image, otherwise the exported icon will have empty space around it. The easiest way to do this is to activate Autosize on save in the Picture Size pane (click on the background of the canvas to display this).

How to use animated icons in web pages

Basically, you just need to save the icon as an SVG file and add it to your web page. However, for animations to work reliably, you need to insert the icon in web pages using the <object> tag. You can get the code for this for each icon you save directly in the Save As dialog when you save it.

See Exporting Pictures for full details.

IMPORTANT: SVGs inserted as images are "external"

Both third-party SVGs and any SVGs you create yourself are treated as "external SVGs" when you insert them in SnipSVG projects with the Insert Image tool.

When you insert an SVG with the Insert Image tool:

•You cannot see or edit the existing internal animations

•You can use the SVG as a trigger for other animations

•You can add more animations

To edit the internal animations of your own SVGs, open the SVG directly in SnipSVG. You can then also copy and paste it into another SnipSVG project with access to the internal animations.