Sergey DesignerGet a quote ↗
Home / Animation guides

PRACTICAL ANIMATION GUIDE / 2026

Lottie vs GIF vs MP4 vs Rive

Choose Lottie for suitable vector interface motion, MP4 for rendered video, and Rive when the design benefits from state-driven interaction. GIF is convenient where only an image can be embedded, but palette and compression limitations matter. Compare actual exports and runtime behavior instead of assuming one format is always smaller.

Start with the job, not the extension

A format decision is easier when the product moment is specific. A checkmark after saving, an onboarding illustration, an interactive character and a cinematic launch film have different requirements. Write down the visual content, the trigger and the level of control needed. Then list where it will be seen: a browser, a mobile app, a slide deck, an email or a social platform. The delivery environment can eliminate an otherwise attractive option before production starts.

Ask the developer and designer to review the same reference. A loop in a portfolio may look like video while actually being player-rendered vector motion. Conversely, a dimensional scene may contain raster images inside a JSON file. The appearance alone does not tell you how it is built, what it weighs or whether individual elements can be recolored.

When Lottie fits

Lottie is a useful candidate for illustrated UI, icons, loaders and short explanatory sequences. A compatible runtime renders the exported motion, and the surrounding application can control playback. This can fit product moments where scale, transparency and frame control are useful. It also means that the export and target player form a delivery pair: the file should be checked in the environment that will actually ship.

A JSON extension is not a performance guarantee. Complex paths, masks and embedded images can increase both transfer size and rendering cost. If the brief is mostly photographic footage or a detailed rendered scene, compare a video export before committing to a runtime-based format.

Where GIF remains practical

GIF can be convenient when the destination accepts an animated image and does not provide a place for a player script. That simplicity is useful for some communication and documentation workflows. The trade-off is a constrained image format: detailed motion can become large, the palette can affect gradients, and built-in playback control is limited.

Evaluate the result at the actual display size. A tiny preview can hide banding, rough edges and compression problems that are obvious on a large screen. Do not scale up an unsuitable raster export simply because the source animation was originally drawn as vectors. Keep a still alternative when motion is not essential.

Why MP4 suits rendered stories

For explainers, CGI, camera movement and mixed-media work, video is often a straightforward delivery choice. The visual result is rendered in advance, and the browser or destination platform handles video playback. Sound and a carefully directed timeline can be part of the story. You can also prepare separate aspect ratios for specific placements.

The production plan should state dimensions, codec, sound, captions and poster requirements. A video is not automatically a responsive interface component: text may become too small on a phone, and changing a color usually requires a new render. Treat website placement as a design task, not just an upload step.

Where Rive changes the brief

Rive is relevant when the graphic needs to respond to inputs and move between designed states. A character that reacts to an interaction, for example, needs a behavior model as well as attractive motion. Define the states, transitions, interruption rules and source of each input. A demonstration with a few buttons is not yet a specification for a working product.

Compare the development and maintenance workflow too. Someone must own the state model, test integrations and manage changes as the product evolves. The best option is often the one your team can maintain consistently, not the one with the most impressive isolated demo.

Run an honest comparison

Export one representative scene in the realistic candidate formats. Compare the same visual quality, dimensions and playback behavior. Record the animation payload and the runtime cost separately, then inspect loading, responsiveness and sustained playback on a representative phone. A desktop browser with a warm cache can hide a poor first experience.

Document the decision: why the chosen format fits this moment, which player version was tested, what the fallback is, and when the choice should be revisited. You may reasonably use several formats across one product: Lottie in the interface, Rive in an interactive feature and MP4 for the launch story.

Compare a real product moment

Imagine a dashboard that confirms a successful export. A short vector checkmark may be enough: it needs to appear once, finish clearly and leave the confirmation readable. A GIF might be easy to insert, but restarting it precisely or matching a specific state may be awkward. A Lottie player gives the application a timeline to control. A state-driven Rive asset becomes more relevant if the visual needs several responsive behaviors, rather than a single confirmation.

Now change the brief to a cinematic explanation of the same export feature, with camera moves, rendered objects and narration. The delivery decision changes because the purpose and media change. MP4 may fit that story much better than attempting to reproduce every visual detail in vector animation. The same product can need both assets without either choice being inconsistent.

Write a comparison sheet before exporting. Include the intended dimensions, first visible frame, background, transparency requirement, loop duration and expected trigger. Check visual quality at the size users will see. Record transferred bytes with the actual server compression, plus any player downloaded by the page. Avoid comparing a compressed video against uncompressed JSON and calling the result a universal rule.

Finally, compare behavior when the user prefers less motion or has a failed request. A format that wins a file-size comparison can still be the wrong product choice if it cannot communicate the state clearly. Keep the surrounding text and controls independent of the decorative layer. The goal is an understandable interaction that your team can ship and maintain.

A format decision table

Compare the actual scene and target runtime before choosing.
FormatUseful forQuality / controlWeight & support
Lottie JSONVector icons, UI and illustrationScalable supported vectors; player controlsVaries with paths and images; compatible runtime required
GIFAnimated image placementsRaster, limited palette; limited playback controlsCan grow with frames; broad image support
MP4CGI, footage, narrated explainersRendered pixels; video controlsDepends on codec and quality; test target playback
RiveState-driven interactive visualsDesigned interaction inputs and statesAsset plus runtime; test relevant integration

A practical handoff checklist

Before approving delivery, open the animation inside the intended screen with real content. Compare it with the agreed reference and check the start, loop boundary and final state. Confirm that the animation does not cover a control, obscure a label or leave the user waiting for decoration to finish. Review it at the smallest supported layout as well as the desktop presentation.

Ask for the agreed delivery files, a reference preview, the tested player and version, and a note describing triggers and fallback behavior. Confirm source-file and usage-rights arrangements in the project scope. A developer should not need to guess whether an animation loops, which frame is the resting state, or whether an embedded image is intentionally part of the file.

Test slow loading, an unavailable asset, reduced motion and navigation away from the screen. Keep essential instructions and status in accessible HTML. If a sequence is purely decorative, its failure should not block the task. If it helps explain a process, provide an equivalent explanation that remains available without playback.

Finally, assign an owner for future changes. Product copy, design systems and runtime dependencies evolve. Keep the approved source and integration notes together so a later update can be checked against the original intent. This small amount of documentation makes a custom animation easier to maintain beyond the launch.

Frequently asked questions

Which format is smallest?

There is no universal winner. The artwork, embedded assets, export settings and runtime affect the result. Compare actual files at comparable quality, including the player cost and the number of simultaneous animations.

Can Lottie respond to clicks?

Yes. The application can connect user events to a compatible player’s controls. For more complex state-driven behavior, compare the authoring and implementation workflow with Rive rather than deciding from a looping preview.

How do I request a custom animation?

Send the product URL, intended screen, target platform, brand assets, references and deadline. You can select a real example in the Lottie studio or use the estimator. The brief is reviewed before a final scope, price and delivery schedule are agreed.

Can I use a portfolio animation in my product?

A public portfolio preview does not grant a reuse licence for commissioned artwork. Request a custom version for your product and confirm usage rights in the engagement. Reference links are useful for discussing style, timing and behavior without assuming ownership of existing client work.

What should happen for reduced-motion users?

Provide an intentional still or simplified experience while retaining the same information and usable controls. Essential status should remain understandable without a loop. Test the target browser or app preference, and offer deliberate playback where it is useful instead of forcing continuous motion.

Can you prepare files for my development team?

Delivery can be scoped for Web, iOS or Android and the agreed runtime. Share the player, platform and integration constraints early. Compatibility is tested against that specific setup; a browser preview alone cannot establish support for every native player or every exported feature.

Sources and further reading

Technical references for the format and integration details in this guide. Check the documentation for the version used in your project.

Lottie web ↗Rive state machines ↗Image formats, MDN ↗

YOUR NEXT PROJECT STARTS HERE

Tell me what
you’re building.

A few details are enough to start. I’ll review your goals and come back with a scope, timeline and quote.

Serhii Dovhyi, motion designer
Hi, I’m Serhii.

I’ll be your direct creative partner, from the first idea to the final handoff.

Watch my current introduction ↗Personal welcome video · coming soon

“Sergey overprovided in no time! Super communicative and understanding.”

Chen Saban · Match Media · Client project feedback on Upwork ↗

Scope, payment, revisions and source-file rights are agreed in writing before work starts. NDA available to discuss. Coming from Upwork? You can keep the engagement there.

Your details are used to reply to this enquiry. Privacy policy.

No commitment. Just a clear next step.

Project preview

Original project by Sergey Designer. Open original