How to compress lottie file?

Hi There! :wave:
In our development state we have a lot of animated icons, and they have big file size and we can’t implement it in our site cause we have a limit of file sizure
How can I reduce lottie file size from 400 to < 50 ?

400 what to less that 50 what?

Keep the elements in the Lottie files simple. Don’t add any human element. Add only vector elements. then you’ll get around 300-500kb. also, keep the comp size to the actual size where you are using it. Do not scale it up.

I’m working on optimizing some Lotties too, here’s what I’m doing:

  • Reducing the original artwork size by eliminating unnecessary elements and points
  • Combining like elements into layers

Here are two articles that have helped: