Skip to content

Lottie animations

Bring in Lottie and dotLottie animations, recolor them and set their slots, and export your own motion graphics as Lottie or animated SVG.

Lottie animations are vector animations, often made in After Effects and exported with Bodymovin, or downloaded from LottieFiles. Oryvio plays them from their vectors, so they stay sharp at any size, and you can change their colors, texts and slots without going back to the app they were made in. You can also go the other way: export a sequence’s shapes, texts and pictures as a Lottie animation or an animated SVG, for an app or a web page.

Import a Lottie animation

Import a Lottie file as you import any media: drop it on the bin or the timeline, or click Import in the bin. Oryvio reads:

FileWhat it is
.jsonA Lottie animation, as Bodymovin and most tools save it. Pictures it names as files beside it aren’t found: save it with its pictures in it, or as a dotLottie.
.lottieA dotLottie: one or more animations zipped with their pictures, and the themes made for them.

A JSON file that isn’t an animation, such as a presets or brand kit file, isn’t taken for one. A Lottie animation shows in the bin as Lottie animation, with its size, frame rate and length. On the timeline it’s a clip like a video’s, with no sound: trim it, speed it up, move and scale it, and put effects on it.

Nothing in a file is run. An expression plays as the keys under it, except the loops and wiggles Oryvio knows, which it plays as they’re meant to. Text is set in the fonts Oryvio has: a font it doesn’t have is drawn in one like it, and letters the file holds as shapes are drawn as they are.

In the Inspector

Select a Lottie animation’s clip and open Lottie animation in the Inspector.

  • Loop plays it over and over for as long as the clip is. Off, it plays once and holds its last frame.
  • Theme draws it with one of the themes its dotLottie comes with. Slots you set go over the theme.
  • Segments are the named parts its file marks. Pick one to play the clip from that part’s start, at a steady forward speed.
  • Colors lists each color it uses. Change one to change it everywhere it’s used, or click Use its own color to put it back.
  • Texts lists its text layers. Rewrite one and it keeps its font, size and animation.
  • Slots are values its maker set up to be changed: a brand color, a size, a place, a line of text.

Use its file’s look puts back the colors, texts, slots and theme its file has, and keeps whether it loops. Each change is one undo step.

Save it with its look

Under Save as, pick Lottie JSON or dotLottie to save the animation as a file other apps play, drawn with the colors, texts, slots and theme you’ve given its clip. Where the clip is cut and how fast it plays aren’t saved: it’s the whole animation.

Export motion graphics as Lottie or SVG

A sequence’s shapes, texts, solid colors and pictures can be exported as motion graphics: an animation that plays in apps and web pages, stays sharp at any size and is far smaller than a video.

  1. Right-click the sequence’s tab and choose Export as motion graphics…. Or choose Export this sequence as motion graphics… in the All sequences menu, or run it from the command palette.
  2. Under Format, pick one:

- Lottie JSON: one file with its pictures in it, for the Lottie players on the web, iOS and Android, and for After Effects and Figma plugins. - dotLottie: the same animation zipped with its pictures beside it, smaller, for dotLottie players and LottieFiles. - Animated SVG: plays in any browser with no player, in a web page or opened alone. Best kept short and simple.

  1. Under Range, pick the whole sequence, its In to Out, the span of the clips selected on it, or the frame at the playhead.
  2. Pick a Frame rate. Fewer frames a second make a smaller file.
  3. Turn on Background to draw it on the project’s background color. Off, it’s see-through, to go on whatever it’s put on.
  4. Click Export.

Each clip is a layer, placed and keyed as it plays. Shapes keep their curves, gradients and strokes. Texts are saved as the outlines of their letters, so they look the same where their fonts aren’t. Pictures go in as they are where they can, or drawn again as the editor draws them. Nested sequences are exported with what’s in them.

Before you export, the dialog lists what of each clip won’t be exported, and the export lists it again once it’s saved. Copy copies the list.

  • Video, animated pictures, image sequences, particles, charts, 3D models and adjustment clips aren’t exported. A Lottie animation’s clip isn’t either: save it from its Inspector instead.
  • Effects, masks, blend modes, motion blur, color adjustments and a text’s outline, shadow and glow aren’t drawn.
  • A transition cuts at its middle, or is drawn as a dissolve.
  • What’s seen in perspective is drawn flat in the frame.
  • Captions aren’t exported: export them as subtitles instead. See Captions.

An export holds at most 3,600 frames, at up to 120 frames a second. You can stop it as it goes, and nothing is saved.