One style $9 · any 5 for $29 · all 140 styles $79 · Team $199One style $9 · any 5 $29 · all $79 →

← Blog

Lottie, Rive, Spine or CSS with Claude Code

ReelStyles ·

Lottie, Rive and Spine are made to play animation inside apps, sites and games. If you want a video file for YouTube Shorts or Reels, the fit is a code-rendered video, where Claude Code writes HTML scenes and HyperFrames records them to MP4. CSS sits in the middle: it animates a page well, and it becomes a video only after you render it. ReelStyles is built for the video side and sells looks for it.

I sell ReelStyles, so weigh that. The facts below come from each tool's own pages, opened on 2 December 2026.

The five options side by side

LottieRiveSpineCSS animationCode-rendered video
What it isA JSON animation exported from After Effects with BodymovinA design tool and open runtimes with state machines2D skeletal animation software for gamesNative browser animationHTML scenes rendered to MP4
Plays inWeb, Android, iOS, React NativeWeb, React, React Native, Flutter, Apple, Android, Unity, Unreal, C++ and moreGame engines through its runtimesAny browserAnywhere an MP4 plays
Licencelottie-web is MITRuntimes are MITPaid editorNot applicableHyperFrames is Apache-2.0
Reacts to inputPlain JSON, no. dotLottie can carry state machinesYes, built inYes, in your game codeYes, with CSS and JavaScriptNo, a fixed film
Gives you an MP4Not by itselfI could not confirm it in the runtime docsYes, AVI or Quicktime exportNot by itselfYes, that is its job

The Rive row needs a word. The page I opened covers runtimes and file loading. It points to a separate Exporting page, and I did not find a video export statement there, so check it before you plan around it.

Lottie

Lottie plays After Effects work in an app. The lottie-web README says it parses animations exported as JSON with Bodymovin and renders them natively, with SVG, canvas or HTML renderers. It suits loaders, icons and onboarding that just play. According to Rive's comparison page, plain Lottie JSON puts interactivity in your own app code, and dotLottie files can now carry state machines.

Claude Code can write the code that loads a Lottie file. It does not draw you a new After Effects project. For a video, you would render the page that plays it. The HyperFrames docs say its runtime can seek registered Lottie animations, so the two can work together.

Rive

Rive is a tool to design, animate and wire interactive graphics. Its runtimes run in many environments and are MIT licensed. Rive's own page says files are often 10 to 15 times smaller than equivalent Lottie JSON, which is a vendor claim, so treat it as one. It suits a mascot that reacts to a tap, which is app work and not video work.

Spine

Spine is skeletal 2D animation for games. Its purchase page says a licence lets you export animation data, images, video and texture atlases, and use the runtimes in your own games and apps. Video export is AVI or Quicktime.

CSS

CSS animation needs no extra tool. It fits hover states, page transitions and small loops. For video, the issue is timing: a recording captures it live, and a renderer needs to step it frame by frame. Text animation code to MP4 shows the port.

Code-rendered video

This is the path for Shorts. Claude writes each scene as HTML, CSS, SVG, canvas or three.js, and HyperFrames records it to MP4. The docs say rendering asks for one frame at a time, so the same frame always comes out the same. You get a file you can upload anywhere. What you give up is interactivity, because a film does not react to a viewer.

Pick this if

Questions

Can Claude Code make a Lottie file?

It can write the JSON or code around one, but After Effects and Bodymovin are how designers normally export Lottie. I have not tested Claude on generating Lottie JSON from scratch for this post.

Can I turn a Lottie or Rive animation into an MP4?

Lottie, yes, through a page that plays it and a renderer that seeks it. For Rive, check the export options in the Rive editor and its Exporting docs, since I could not confirm video export from the runtime docs.

What about pixel animation?

Pixel art works well as canvas or CSS steps in a rendered video. The pixel RPG style is one example.

Sources

See all 140 styles and the price