header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

Wix Editor: Importing Lottie Animations to Your Site

3 min
In this article
  • Step 1 | Add a Lottie Animation
  • Step 2 | Copy the animation URL
  • Step 3 | Import the file to your Wix site
Lottie animations are high-quality animated files you can add to your site. By importing the animation directly from your LottieFiles account, you can create unique, lively pages without needing to add any code. 
Live site with text reading 'Layla's Scuba Adventure'. An animation of a jellyfish and bubbles are playing.
Before you begin:
In order to import an animation, you need have a LottieFiles account. 

Step 1 | Add a Lottie Animation

Get started by adding the Lottie Animation element to your site from the Add Elements panel.

To add a Lottie Animation to your site:

  1. Click Add Elements   on the left side of the Editor.
  2. Select Embed Code.
  3. Scroll down to Animation.
  4. Click Lottie to add it to your site.
The Add Elements panel in the Editor. The cursor is hovering over the option to add Lottie to the site.

Step 2 | Copy the animation URL

After saving an animation to your workspace in LottieFiles, you can copy the URL and paste it directly. Choose from your own design, or import one of the hundreds of free-to-use animations available on LottieFiles.com.

To retrieve and copy the animation's URL:

  1. Log in to your LottieFiles account.
  2. Select your chosen animation.
  3. Click Save to workspace to generate.
  4. Click the Copy icon under Asset link.
Cropped screenshot showing the URL of an animation being copied on lottiefiles.com
Did you know?
Lottie animations are Vector files, so they retain their quality on both your desktop and mobile site.

Step 3 | Import the file to your Wix site

Once you've copied the animation's URL, paste it in the element on your Wix site to create a fun, unique experience for your visitors.

To import the file to your site:

  1. Select the Lottie Animation element in your Editor.
  2. Click the Settings icon .
  3. Paste the URL into the field under What's the animation's URL?.
  4. Press Enter on your keyboard.
The Lottie Settings panel in the Editor. The cursor is hovering over the URL field.
What's next?
You should know:
Lottie animations are automatically converted to JSON files when you import them to a Wix site. For technical reasons, not all of the file fields can be contained. Lottie animations may therefore look slightly different on a live Wix site (e.g. displaying a reduced range / amount of motion). 
Live site with text reading 'Layla's Scuba Adventure'. An animation of a jellyfish and bubbles are playing.
The Add Elements panel in the Editor. The cursor is hovering over the option to add Lottie to the site.
Cropped screenshot showing the URL of an animation being copied on lottiefiles.com
The Lottie Settings panel in the Editor. The cursor is hovering over the URL field.