All articles

Formats & export · 6 min read

Preparing a Lottie Export for the Web: A Practical Checklist

Review layers, assets, loops, player compatibility, and fallback behavior before shipping a Lottie animation on a website.

A Lottie JSON file connected to a responsive browser preview

A Lottie export is only ready when it works in the player and page where it will appear. Layer structure, unsupported effects, external image assets, loop behavior, and player versions can all affect the result. A careful handoff catches these issues before a launch.

Simplify the source before export

Remove hidden layers and unused assets. Name layers so another person can recognize them, group related artwork, and keep the composition near its intended display size. If the animation contains embedded raster images, confirm those assets travel with the JSON or are packaged at the expected paths.

Avoid assuming that every editor effect maps to every Lottie renderer. Check masks, text, gradients, expressions, and blend modes against the target player. If an effect is unsupported, replace it with a simpler construction or export an alternate format.

Test the player and the loop

Load the exact JSON in the same player version and framework used by the product. Confirm the first frame, final frame, timing, easing, responsiveness, and whether the animation loops or plays once. If the file is interactive, test its trigger and pause behavior too.

Review the animation at multiple sizes and device pixel ratios. Check that thin strokes remain visible and text is still legible. Look for layout shifts or oversized intrinsic dimensions that cause the player to claim more space than expected.

  • Keep the JSON and image assets together.
  • Test on the actual target device.
  • Provide a static fallback for unsupported contexts.

Ship accessible defaults

Do not force motion on every visitor. Respect reduced-motion preferences, provide a pause control for prolonged decorative movement, and ensure the meaningful information is available without the animation. Keep the file focused on one job so it is easy to review and replace later.

Vekto exports Lottie JSON from editable scenes. The export still needs a player-level review because the runtime determines how a given feature is rendered.

Explore Vekto’s animation workflow or browse more motion design articles.