What is a Lottie file?


Flexitive now accepts Lottie files as image assets, so you can add lightweight, scalable animations to your designs.


A Lottie file is a vector animation stored as code instead of as pixels or video frames. Designers usually create Lottie animations in Adobe After Effects and export them with a Lottie plugin, or download ready-made animations from libraries like LottieFiles. Because the animation is described as shapes and motion, it plays back smoothly at any size.


Lottie files are available to users on Flexitive Enterprise plans.


Why use Lottie?


Lottie gives you smooth animation that stays sharp at every size, in one reusable asset.

  • Animated: A single Lottie file can hold a detailed, multi-step animation. You avoid the choppy, limited frames of a GIF and the weight of a full video. Animated SVGs can also move, but complex, multi-step motion is much easier to create and edit as a Lottie file.
  • Infinitely scalable: Lottie animations are vector-based, so they never pixelate or blur. The same file looks crisp in a 300x250 banner and a full-screen takeover. Because Lottie scales cleanly, you can reuse the same animation in every size of a design without re-exporting it.
  • Transparent backgrounds: Lottie animations can sit over any background, image or video in your design.


Format

Animated

Scales without quality loss

Compressed on export

Lottie

Yes

Yes

No

SVG

Yes (simpler motion)

Yes

No

GIF

Yes (large file size)

No

No

MP4 / WebM

Yes

No

No

PNG / WebP / JPG

No

No

Yes


Uploading a Lottie file


You upload Lottie files the same way as any other image in the Editor.

  1. Open your design in the Flexitive Editor.
  2. In the Assets Panel on the right, open the Images tab.
  3. Click Upload Local File and select your Lottie file.


Or drag, the Lottie file from your desktop straight onto the Assets panel or the canvas.


Once it's uploaded, the Lottie file appears in your assets alongside your other images, ready to use in any design.


Using Lottie elements in your designs


Lottie elements work best for small, focused motion that draws the eye without taking over the design.

To add one, drag the Lottie asset from the Assets Panel onto the canvas. You can then position and resize it like any other element. Because it's vector-based, you can scale it up or down freely without losing quality.


Good uses for Lottie:

  • Animated logos and brand marks
  • Icons and micro-interactions, such as a pulsing arrow or a checkmark
  • Call-to-action buttons and attention cues
  • Illustrations and simple character animations
  • Loaders, badges and decorative accents


Use another format for:

  • Real footage or photographic content: use MP4 or WebM.
  • Static images: use SVG, WebP, PNG or JPG.
  • Simple motion, such as a spin, fade or pulse: an animated SVG can do this and is often lighter.


When adding a Lottie element to a design, you can also choose to allow for the element to Loop it's animation (default), or only have it play once, using the "Loop" toggle in the Lottie Settings panel.


Tips for keeping Lottie files light


Simplify the animation before you export it. That's the most effective way to control file size.

  • Use vector shapes only. Avoid embedding PNG or JPG images inside the animation.
  • Reduce the number of layers, and merge or delete hidden and unused ones.
  • Keep animations short, and loop them instead of making long timelines.
  • Use fewer keyframes and simpler easing where you can.
  • Avoid heavy effects, masks and mattes, which add size and may not play back as expected.
  • Check the file size before uploading. If it's large, simplify further or choose another format.


Related articles


Need help? Contact us at support@flexitive.com.