Add movement and interactivity to your project with animations. This article explains the available animation types, effects, and parameters, and how to combine them using steps and triggers.
To animate a widget, click the Animation icon in its controls. There are four different interactions you can use when animating widgets: on load, on click, on hover, and on scroll.
On Load: Animates once the project is loaded in the browser.
On Click (On Tap for mobile devices): Requires a visitor to click on the widget or its trigger for the animation to play.
On Hover (On Hold for mobile devices): Starts when a visitor moves their cursor over the widget or its trigger.
On Scroll: Starts in a specified position on the page and follows the scrolling action.
In mobile and tablet layouts, the “On Hover” animation can’t be used because it’s intended for non-touch screens. Instead, it’s replaced by the “On Hold” interaction.
Animation effects
After you’ve selected one of the animation types, you’ll be presented with a list of possible effects:
Move. Use “Move” to change the position of the animated widget. After selecting “Move,” drag the widget to the spot where you want it to appear after the animation ends, position it with the keyboard arrows, or enter the value in pixels.
Additionally, you can enable the Bezier toggle to create curves that define a widget’s motion path.
Opacity. Used to modify the opacity of the animated widget. The values for this parameter indicate the opacity percentage: the first value shows the opacity percentage at the start of the animation, while the second displays the widget’s opacity percentage at the end of the animation.
To work on content hidden behind an opacity-animated widget, such as a menu, turn on the “Hide in Editor” toggle in the animation settings. The widget will still show up in the widget bar and appear in the Editor whenever you click its animation trigger.
Rotate. Rotates the animated widget by the specified number of degrees.
Scale. Scales the animated widget up or down. The first value shows the widget’s size as a percentage of its initial size. The widget scales up or down based on the second value entered.
Several presets also allow you to make your widget pulse, fade in, scale up, etc. You can customize each by changing its parameters.
Animation parameters
Animations have several parameters that let you fine-tune how they play. Some work the same for all animation types and effects, while others are specific to the animation type you select.
Speed curve. Controls how the speed of the animation changes from start to finish. The available options are:
- Linear: The same speed for the entire animation. This can look mechanical, but it suits loops or steady rotation.
- Ease in: Starts slowly and ends fast, so the stop is abrupt. It’s suitable for things leaving the screen.
- Ease out: Starts fast and slows to a stop. It’s good for things arriving on screen.
- Ease in and out: Starts slowly, speeds up in the middle, and slows down again at the end.
- Ease in back, Ease out back, and Ease in and out back: The same ideas with a small overshoot. The element pulls back slightly before it moves or goes a little past its target and settles back, which creates a playful, bouncy feel.
Loop. Makes the animation repeat. It can play as a cycle or in reverse mode, where it runs from the end back to the start point after the animation finishes.
The following parameters are specific to certain animation types:
Start in sight (On Load animation). By default, “On Load” animations start as soon as a page finishes loading, even if some widgets might not be visible yet. Use the “Start in sight” control located under “Display” settings to delay an animation until the widget appears on your visitor’s screen.
Reset on click (On Click animation). Returns the widget to its initial state when a visitor scrolls back to the widget after the animation plays. For example, if a widget rotates when clicked, it will be back in its original position the next time it comes into view, and clicking it plays the animation again from the start. When this option is off, the widget stays in its final state after the animation plays even if the visitor scrolls away and returns.
Once per user (On Click animation). The animation plays only the first time a visitor clicks the widget. For example, if a widget fades in from 0% to 100% opacity on click, the fade plays on the first click and later clicks have no effect.
Start point (On Scroll animation). Lets you choose when the animation starts, once the top edge of the widget is aligned with the Top, Center, or Bottom (by default) of the screen. The “Offset” option allows you to set the “Start Point” at an exact pixel height.
Speed (On Scroll animation). Defines how long each step of an “On Scroll” animation is displayed while a visitor is scrolling. At a speed of 1x, each step is displayed for one pixel of page scrolling, and at 0.5x, for two pixels. The faster the animation, the less scrolling it requires to play.
Copy and paste animation settings. Use “Shift + Cmd + C/V” to copy the animation settings from one widget and paste them onto others.
Animation steps
Use steps to build layered animations. Each step can have its own set of effects and parameters; for example, step 1 can make a widget move and change its opacity at the same time, and step 2 can then scale it up.
To add a new step, click the plus icon under the widget.
All steps play sequentially from a single action. Once the animation’s action happens (the page loads, the widget is clicked, the mouse hovers over the widget, or the page is scrolled), the steps run one after another. They can’t be triggered separately, so you can’t click once to play step 1 and click again to play step 2.
To repeat an animation, use the “Loop” options. There are two types of loops: “Cycle” (where the animation plays from start to end, then starts over) and “Reverse” (where the animation plays from start to end, then runs backward to its start point). You can loop the whole animation with the “Loop” control at the bottom of the animation settings.
You can also loop individual steps with the loop icon next to each step in the “Steps” list.
Animation triggers
Animation can be initiated not only by an animated widget itself but also by another widget that becomes a trigger. To set a trigger, select the animation type, click “Add trigger,” then choose a preferred widget. A widget can have up to 20 different triggers.
Note: The Video, Music, Slideshow, Form, and Google Maps widgets can’t be used as triggers.
Adding multiple animations
You can apply different types of animation to the same widget simultaneously. To do so, click “Add” at the top of the animation controls. Any new animations you add will appear in a list of all of the animations added to your widget. Click the animation title to view or edit its parameters.
Animating multiple widgets
You can simultaneously animate more than one widget. Select all necessary widgets with “Shift + click,” then set the animation controls as usual. All changes will be applied identically to each individual widget in the selection.
If you select a mix of animated and regular widgets, you’ll be prompted to merge different animations so that each selected widget has identical attributes.
Full-width, Full-height, Fixed, and Sticky widgets (see Fixed and positioned widgets) can’t be animated together or with widgets that don’t use these options.
How to remove animations
To remove the applied animation, select the animated widget, open the animation control to the right of the screen, hover over its title (Click, Load, Hover, or Scroll) and click on the minus (-) symbol to its right, next to the arrow.
Preview animation
Enabling this setting lets you preview your animation directly inside the editor without switching views. Turn it on to test the animation in place, or turn it off to return the widget to its original state.
FAQs
My horizontal animation doesn’t work on mobile devices. Why?
Check whether all of the widgets on the page are set to fixed positioning. When all of the content of the page uses fixed positioning, the browser interprets this as if there’s nothing to scroll. To fix this, add at least one non-fixed widget (for example, a transparent shape placed either inside or outside the viewport will do the trick).
Why is my scroll animation incomplete or not triggering fully?
Anything that’s animated with scroll animations requires space for the animation to complete; therefore, when setting up scroll animations, it’s crucial to ensure that the page height is long enough to trigger the animation. If at any point a scroll animation feels incomplete, try:
- Increasing the page height
- Revising the animation’s parameters (reduce the “Move” values or change the speed).
I used scroll animations and my widgets stutter while scrolling. How can I fix this?
This commonly occurs when a widget is animated and set to move against the page scroll—in certain configurations, browsers can have a harder time rendering the widget's position as you move. Reducing the animation speed to 0.5 or lower can help alleviate this.
Is there a limit to the pixel value of a “Move” animation?
Yes, the limit for “Move” animations is 99,999 pixels.
My scroll animation stutters in Safari, how can I fix it?
In Safari, “On scroll” animations may appear less smooth compared to other browsers. If this happens to your project, please consider reducing the animation speed to 0.65x or lower.