Export a Lottie file
Export › Lottie writes a .lottie (a small zip: the animation, its pictures and fonts, and its flows and themes) or a .json (the plain animation, for every Lottie player). The preview plays the very file that will be downloaded, in the official dotLottie player; what a Lottie file can't hold is listed in an amber note, never dropped silently.
Step by step
Open Export › Lottie
Click Export in the top bar, then Lottie across the top of the window.
Pick .lottie
Under Format, pick .lottie. It holds the flows as state machines and the themes and tokens as themes and slots; a .json holds the animation only.
Start it with the flow
Pick With the flow in Starts: the file's state machine starts it, and the test controls under the preview drive it in the dotLottie player. On load and Programmatic play the plain animation.
Get the code for your site
Click Embed in your site: the code loads the dotLottie player and starts the file, its state machine and its theme.
Download it
Click Download .lottie.
Keys
| Ctrl E | Export |