Can Lottie animations that reference a separate images folder be uploaded and displayed in Webflow?

Published on
September 22, 2023

Can Lottie animations that reference a separate images folder be uploaded and displayed in Webflow?

Yes, it is possible to upload and display Lottie animations that reference a separate images folder in Webflow. Lottie is a JSON-based animation format created by Airbnb and it allows you to bring complex animations into your web projects. When using Lottie, you can easily add animations to your Webflow site without the need for excessive coding.

Here's how you can upload and display a Lottie animation that references a separate images folder in Webflow:

  1. Prepare your Lottie animation: Make sure your Lottie animation file (typically with a .json extension) references the images from a separate folder. This folder should contain all the image files used in your animation.

  2. Upload your Lottie animation: In the Webflow Designer, select the element where you want to display the Lottie animation. This could be a div block, a section, or any other suitable element. Go to the animation settings panel on the right sidebar and click on the "+" button next to the "Lottie" option. Upload your Lottie animation file.

  3. Upload your images folder: Webflow allows you to upload files to your project. Click on the Assets panel on the left sidebar and then click on the "Upload" button. Select your images folder and upload it to your Webflow project.

  4. Update the image paths in your Lottie animation file: Since your Lottie animation file references the images from a separate folder, you need to update the image paths to point to the uploaded images in Webflow. Open your Lottie animation file with a text editor and replace the image paths with the correct paths to the uploaded images in Webflow. Save the updated Lottie animation file.

  5. Set the Lottie animation as the source: In the animation settings panel, select the uploaded Lottie animation file as the source for your animation element. Webflow will automatically load and display the animation.

By following these steps, you can successfully upload and display a Lottie animation that references a separate images folder in Webflow. This allows you to have more control over your animation assets and keep them organized in separate folders.

Additional questions:

  1. How do I upload a Lottie animation in Webflow?
  2. Can I use Lottie animations in Webflow without coding?
  3. What are the benefits of using Lottie animations in Webflow?