Scroll on Animation defers loading content until the user scrolls, which helps decrease page load times.
Hover effects, parallax, and other animations require additional code and can have a slight impact.
Additional impact on desktop and mobile if images are not compressed.
An image or video background also impacts page performance.
Lottie files can increase the time it takes for the page to load.
Convert images to WebP where possible to meet criteria to serve images in next-gen format.
To reduce image file sizes without losing quality, use TinyPNG to compress your images (JPG, PNG, WebP).
Vector images (SVG) also help keep file sizes to a minimum and can be used for graphics like logos and icons.
You can define a global animation style for all of your pages in Theme Settings and also modify individual modules to customize the animation for your content and page layouts.
Many Custom Modules included with POWER theme include interactive elements, such as the 3D Hover Effect for image boxes.
Add Animation to Website Pages in HubSpot
Adding animation to your website pages defers the content from loading until the user starts scrolling down the page (known as animation on scroll or AOS), which can help improve your overall page speed by reducing the files that are needed on the initial page load.
Theme Settings → Animation
Modify the global settings for Animation on Scroll, including the option to disable globally or based on device type.
Types of Animation Styles Available
- Fade Up
- Fade Down
- Fade Left
- Fade Right
- Fade Up Right
- Fade Up Left
- Fade Down Right
- Fade Down Left
- Flip Up
- Flip Down
- Flip Left
- Flip Right
- Slide Up
- Slide Down
- Slide Left
- Slide Right
- Zoom In
- Zoom In Up
- Zoom In Down
- Zoom In Left
- Zoom In Right
- Zoom Out
- Zoom Out Up
- Zoom Out Down
- Zoom Out Left
- Zoom Out Right
Add Hover Effects to Website Content
Theme Settings > Effects
POWER theme includes a 3D Box Effect that creates a tilting effect when hovering over the box elements within the theme.
The theme also includes a default effect for CTAs and Buttons to "slide up" on hover.
Add Parallax Effect to Images
[POWER SEC Module] > Style > Background > Background Image
When configuring an image as the background for one of the custom POWER Section Modules, you can initiate the Parallax effect by changing the Background Position / Parallax Effect to Parallax.
Add Lottie Animations to HubSpot Website
To use JSON animations, you'll need to create a LottieFiles account to add the animations on your website.
Depending on your requirements (creating custom animations, performance preferences, number of animations, etc.) using Lottie may require a paid subscription.
The Lottie library is included in the theme files and only loaded when you've configured a Lottie File in any of the modules with the Lottie File option. How to get the Lottie File link.