top of page

Studio, Partners & Enterprise

Wix Studio

Studio Editor: Adding Animations to Button Icons


Using styled buttons? Add icon animations create eye-catching effects, making your clients' sites interactive to the smallest detail.


Choose from Wix Studio’s variety of pre-designed animated icons for a ready-made effect, or combine a start and end icon to craft a custom animation. You can even upload your own SVG files for a personalized touch.


Icon animations on buttons consist of a start and an end icon. When visitors hover over the button on the live site, the start icon changes into the end icon.


a styled button, hovering over the animated icon options in the button settings panel


Adding a pre-designed icon animation


Choose one of our striking icon animations for fast editing. Once you've selected the effect you want, you can set the duration.


To add a pre-designed animated icon:


  1. Go to your editor.

  2. Click the relevant styled button.

  3. Click Settings.

  4. Click Animated under Icon type.

  5. Choose what to do next:

    • Select the desired icon under Choose icon

    • Click the Add icon

      Studio Editor: Adding Animations to Button Icons

      to explore our full range of animated icons in the Media Manager.

  6. (Optional) Drag the slider to change the Duration of the animation.


Tip:


Hover over our pre-designed icons to preview their animation.


Styled button with an animated cart icon on the canvas alongside the settings panel, highlighting the icon-related options


Creating custom icon animations


Create your own icon animations for buttons on your client's site. By selecting both a start icon and an end icon, you can craft a seamless animation that is unique to your client's site. Combine icons from Wix, or use 2 of your own SVG files.


To create custom animations:


  1. Go to your editor.

  2. Click the relevant styled button.

  3. Click Settings.

  4. Select Animated under Icon type.

  5. Click the Add icon

    Studio Editor: Adding Animations to Button Icons

    and select Create new.

  6. Set up your start and end icons:

    1. Click Add icon

      Studio Editor: Adding Animations to Button Icons

      under Start icon.

    2. Select a file in the Media from Wix tab, or upload / select your own in Site Files.

    3. Click Choose File.

    4. Repeat steps a-c for the End icon.

  7. (Optional) Click Back at the top, and use the slider to set the Duration.


Changed your mind?


Hover over the start / end icon in the custom panel, and click Replace icon


Studio Editor: Adding Animations to Button Icons

to change it.


Tips:


  • You can combine your own file with an icon from Wix.

  • Use the preview box to make sure that the effect looks how you want.


Creating a custom icon animation on the Button Settings panel, hovering over the preview to see the animation live


Designing the icon


Tailor the icon to fit your design vision, your client's unique branding, and the particular button. Resize the icon, change its color and rotate it to make the button feel more dynamic.


You can design the hover state of the button, giving you the opportunity to add an extra layer of interactivity – for example, make the icon rotate or shift colors on hover.


To design the icon:


  1. Go to your editor.

  2. Click the relevant styled button.

  3. Click the Open Inspector icon

    Studio Editor: Adding Animations to Button Icons

    at the top right of the editor.


A screenshot of opening the Inspector panel in the Studio Editor.

  1. Select the relevant State under Design: Regular or Hover.

  2. Click Icon under Design.

  3. Use the available options to design the icon:

    • Resize the icon.

    • Change the icon color and adjust the opacity.

    • Rotate the icon to a different angle.


A styled button with an animated cart icon on the canvas alongside the icon design options in the Inspector panel


Custom icon requirements and guidelines


Custom icons have some requirements. In order to upload and use your own files, they must be:


  • Solid black (#000000) only

  • In an SVG format

  • No bigger than 250KB


Note:


If you have created your SVG files in Adobe Illustrator or Figma, they must be converted to a compound path before you export them.


There are also some best practices to keep in mind when creating icons. We recommend following the below guidelines to ensure the smoothest animation possible.


  • Make sure the start and end icons have the same starting position.

  • Check that both icons have the same number of points.

  • Use filled icons (without cut-outs).

  • Use several smaller shapes to create an SVG icon, as opposed to 1 larger shape.

  • Scale shapes when resizing them to maintain their quality.

  • Use the program's pixel view to ensure alignment with pixels on the artboard.

  • If your icons are very different shapes, you can try these tips for an even smoother transition:

    • Use morphed versions of the icons (a start icon that has been slightly morphed into the end icon and vice versa).

    • Hide shapes from one icon on the other (e.g. hiding shapes from the end icon on the start icon).


Important:


We cannot provide support or troubleshooting for SVG files you create outside of Wix.


Need An AI Run Website?
Contact Us
 Today!

wix experts
Graphic2Traffic web design
©
bottom of page