Lottie After Effects Plugin
StyleFrame Team7 min read
A Lottie After Effects plugin exports your composition as lightweight JSON (or dotLottie) so it can play in web and mobile apps. The two main options are LottieFiles for After Effects, a free panel that imports, previews, optimizes, and exports Lottie files, and Bodymovin, the original open-source exporter. Both install as extension panels under Window > Extensions, and both require vector-based, deliberately simple compositions.
What a Lottie plugin does in After Effects
Lottie is a vector animation format, not a video codec. Instead of rendering pixels, a plugin reads your shape layers, transforms, and keyframes and writes them out as data that a player library redraws at runtime. That is why Lottie files are tiny and resolution-independent, and why they suit UI animation such as loaders, icons, onboarding sequences, and micro-interactions.
For motion designers, this changes how you build a comp. You are authoring for a runtime that interprets your timeline, not for a renderer that bakes it. The plugin is the bridge, and it is also your first line of defense for catching what won't translate.
LottieFiles for After Effects vs. Bodymovin
Most designers choose between two panels.
LottieFiles for After Effects is the more feature-rich option. It's listed at $0.00 on aescripts and also available through Adobe Exchange. Its main capabilities:
- Import and export: bring existing Lottie files into AE for editing, and export as Lottie JSON or dotLottie.
- Lottie Feature Checker: scans your comp for features that may not play across web, Android, and iOS.
- Live preview: play animations as you edit, with custom background colors and instant file-size readout.
- QR preview: scan a code with the LottieFiles mobile app to see the animation on a real device.
- Lottie Optimizer: reduces file size further after export.
- Bulk render: export multiple compositions as Lottie in one pass and save them to a team workspace.
- Render graph: helps you spot animations that are heavy on CPU.
- Library and workspace access: pull from a library of free animations (including AEP source files for many) and reach your private files from inside the panel.
- Gradient preservation: static linear and radial gradient fills and strokes can be imported as editable AE gradients.
Bodymovin was created by Hernan Torrisi, and Airbnb's Lottie project built on it to bring the format to Android, iOS, React Native, and Windows. It exports JSON and includes a JavaScript web player. It's more manual and doesn't have the preview-on-device, QR, or team features, but its per-composition settings give you direct control over the output. If you need a bare exporter with no account involved, it's a reasonable choice.
A practical rule: use LottieFiles for After Effects when you want testing, optimization, and collaboration in one panel. Use Bodymovin when you want a lean exporter and are comfortable validating playback in your own build.
How to install a Lottie plugin
There are three common routes:
- Adobe Exchange: in After Effects, open Window > Find Extensions on Exchange, search for LottieFiles, and install.
- aescripts + aeplugins manager: download LottieFiles for After Effects from aescripts and let the manager handle installation.
- ZXP installer: download the plugin's ZXP file and install it with a ZXP installer utility. This is also the standard method for Bodymovin: close After Effects, install the ZXP installer, drag the Bodymovin extension into it, then reopen AE.
After installation, find the panel under Window > Extensions.
One setting trips people up: the extension needs permission to write files and access the network. In After Effects preferences, enable "Allow Scripts to Write Files and Access Network." Without it, exporting or logging in to LottieFiles will fail. If the panel doesn't appear in Extensions, restarting After Effects after install is the first thing to try.
Building comps that survive export
The plugin can only export what the Lottie format and its players can represent. Good habits matter more than any panel setting.
Stay in vector
Build with shape layers. If you have text, convert it with Create Shapes from Text so the outline travels with the animation instead of depending on a font. If you start from Illustrator artwork, convert it to shapes in AE and delete the original AI layer. Raster images can be exported as assets, but they quickly erode the size advantage that makes Lottie worth using.
Keep it simple
Every shape, keyframe, and path point becomes data. Use fewer layers, fewer points per path, and shared timing where you can. Trim Paths, Repeaters, simple fills and strokes, and transform animation are standard Lottie territory. Heavy effects, complex expressions, and rendering tricks designed for video output are where compatibility breaks down.
Check support early
Don't wait until the final export to find out something doesn't work. Run the Feature Checker as you build, not just at the end. It's much cheaper to swap out an unsupported layer style in the first hour than to rebuild a polished animation.
Bodymovin export settings worth knowing
If you export through Bodymovin, each composition has a settings gear. The options that affect results most:
- Glyphs: converts text characters to shapes. If it's off, you must supply a font file or class name for correct rendering.
- Hidden / Guided: includes hidden or guide layers. You usually need these only when expressions reference those layers, and they add to file size.
- Extra Comps: exports additional compositions that expressions point to but that aren't in the main comp tree.
- Split: attempts to export multiple JSON files based on where layers begin in time.
- Original Assets Name: keeps source filenames for rasterized assets exported to an images folder.
- Standalone: bundles animation and player into one file, which can suit something like a single banner.
- Demo: writes a demo.html file for fast browser preview.
Test, optimize, and hand off
A reliable sequence for production work:
- Build in vector with the target platforms in mind.
- Run the Feature Checker and fix flagged items.
- Preview in the panel, then scan the QR code to check on an actual phone.
- Export. For the smallest file, choose dotLottie.
- Run the optimizer and compare file sizes.
- Save to a shared workspace or hand the files to engineering with the AEP source.
Developers will often tell you something plays "almost right." Device preview catches most of these differences before they become tickets, and the render graph helps when an animation is smooth on your machine but heavy on a low-end phone.
Where Lottie ends and raster work begins
Lottie handles interface-scale vector motion well. It isn't the right container for painterly frames, photographic textures, 3D renders, or anything that depends on pixel-level detail. Those belong in standard video or image-sequence delivery, and they usually pass through a compositing stage in After Effects or Nuke.
That's where may be useful alongside a Lottie workflow, not as a replacement for it. Styleframe is an AI video and motion tool.
Styleframe doesn't produce Lottie JSON. It produces raster results you can bring into After Effects or Nuke, so your compositing workflow stays the same. A realistic use: a product launch needs a stylized hero sequence for a video, plus a set of vector UI animations for the app. You'd generate and refine the hero look in Styleframe, composite it in AE, and build the interface pieces as Lottie with the plugin above, in the same project file or alongside it.
Common problems and fixes
- Panel missing: check Window > Extensions, confirm the ZXP installed, and restart After Effects.
- Export or login fails: enable script file-writing and network access in preferences.
- Text looks wrong in playback: convert text to shapes or enable Glyphs in Bodymovin.
- File is too large: reduce path points, remove hidden layers, avoid raster assets, then run the optimizer or export as dotLottie.
- Looks different on a device: check the Feature Checker report and preview via QR on real hardware.
Choosing your setup
If you ship UI animation regularly, install LottieFiles for After Effects first. The feature checker, device preview, optimizer, and bulk render address the problems that actually cost time. Keep Bodymovin installed if you need its explicit export controls or want a second exporter to compare against when something plays inconsistently. Then keep the comp discipline: vector shapes, restrained layer counts, and early compatibility checks. That discipline matters more than which panel you click.