Skip to main content
All CollectionsViz FlowicsBuilding Blocks
Importing Lottie JSON Files to your Graphics Editor
Importing Lottie JSON Files to your Graphics Editor
Updated this week

Lottie Support in Flowics: User Guide

What is Lottie?

Lottie is a lightweight animation format that enables high-quality, scalable animations in JSON format. In Flowics, Lottie is particularly useful for its ability to dynamically render animations with editable text and fonts, providing flexibility and customization for interactive graphics. Its JSON-based structure ensures seamless integration and optimized performance compared to traditional video or image-based animations. These animations are exported from Adobe After Effects using the BodyMovin plugin.


Exporting After Effects to Lottie

To export an After Effects animation into a Lottie JSON file, follow these steps:

  1. Install the BodyMovin Plugin:

    • Download and install the BodyMovin extension from here.
      Note: After installing the plugin close the after effects and re-open it.

  2. Enable Script Access:

    • In After Effects, navigate to Edit > Preferences > Scripting & Expressions.


    • Enable the option Allow Scripts to Write Files and Access Network.


  3. Prepare the Animation for Export:

    • Open your project and ensure that text layers remain as text (not converted to shapes).

    • Avoid special characters or unsupported features like Illustrator layers.

    • Ensure text layers in After Effects are actual text layers.

    • Do not bundle fonts when exporting.

  4. Export Using BodyMovin:

    • Go to Window > Extensions > BodyMovin.

    • Select your composition and open the plugin settings.

    • Uncheck the Glyphs option to ensure text layers remain editable.

    • To embed raster images, enable Include in JSON under the Assets section.

  5. Render and Save:

    • Select the layer, click the 3 dots, and save it in your files

    • Click the render button in BodyMovin to export the animation.

    • After the layer has been rendered, click on Done. A JSON file of the animation will be generated.

  6. Validate the Export:

    • Test the exported animation using the LottieFiles Preview Page and check for compatibility issues with their Feature Support Checker. Common issues include unsupported gradients or missing fonts. For example, gradients may render as solid colors if improperly configured, and fonts might need to be uploaded manually if not included in the JSON. Resolving these typically involves reconfiguring the original animation or adjusting plugin settings before re-exporting.

    • Once rendered, Flowics will process the fonts, allowing users to upload and select font families via the Graphics Editor.


Import Lottie Files in Flowics

To use Lottie animations in Flowics:

  1. Upload to Assets Library:

    • Go to the Assets Library in the Graphics Editor and upload your JSON file.

  2. Add a Lottie element:

    • Drag a Lottie element into your graphic tree and select the uploaded JSON file.

  3. Modify Animation Settings:

    • Configure playback options such as looping, speed, and reverse play through the settings panel available in the Graphics Editor when a Lottie element is selected.

    • Use the Subframes option for smoother playback matching the original animation framerate.

  4. Editable Content:

    • Lottie animations with editable texts will display fields in the Inspector.

    • Adjust text dynamically during playback or while the animation is paused.

    • Upload custom fonts if needed and assign them in the Fonts page of the Graphics Editor.

  5. Remote Control:

    • Expose editable text fields for remote control by toggling the Editable Content section in the Inspector.


Known Limitations & Troubleshooting

  1. Supported File Types:

    • Only .json files are supported. .lottie or .dotLottie files are not compatible.

  2. Image Embedding:

    • Rasterized images can increase JSON file size. Adjust compression ratios if needed.

  3. Gradients and Special Characters:

    • Gradients may not export correctly if created with non-English settings or specific plugins. For additional guidance, check this Gradient Export Guide, which includes solutions for common gradient issues in Lottie animations.

    • Avoid using special characters or unsupported layer types.

  4. Font Limitations:

    • Only text layers and standard fonts are editable. Glyph-based text is not supported.

  5. Layer Compatibility:

    • For Illustrator layers, convert to shapes before exporting to avoid quality loss.

  6. BodyMovin Rendering Issues:

    • Ensure Scripting is enabled in Preferences and restart After Effec


Example Files for Testing

Here are sample JSON files to help you test. These examples showcase editable texts, raster image embedding, and animation variations for testing within Flowics:

Attachment icon
Attachment icon
Attachment icon
Attachment icon
Attachment icon
Did this answer your question?