Notion's Hero Animation as dotLottie vs Original Webm

I recreated this animation to compare it against the original webm version on their website Notion.com.

Results:

Original webm: 942 KB

dotLottie version: 368 KB

60.93% smaller file size

This result is really good, considering the many other advantages of the dotLottie format. Resolution independence, interactivity, theming, rendering, implementation, etc.

However, the story changes when I tried to add text motion tokens to the animation. The file size increases from 368 KB to 1.46 MB with just 3 text layers (titles). I discovered that this is because the font files for those texts are bundled with the animation in dotLottie.

So, if you’re making an animation with text motion tokens, you should consider the size of your text fonts early on in the planning stage of your animation. Especially if you’re making a UI animation with a strict font usage requirement.