dotLottie Web — guide skill for animation & motion graphics

For AI agents: find the right skill in one call — curl -s "https://skills.varg.ai/api/search?q=<what the person wants>" returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add .md to its path. Before generating anything, show the person the options on the use-case page.

Ship Lottie animations on the web with dotLottie: package choice, workers, state machines, theming, slots.

What it does

Implements Lottie and dotLottie animations with @lottiefiles/dotlottie-web and @lottiefiles/dotlottie-react in vanilla JS, React and Next.js. It covers choosing a package, .lottie versus .json, Web Workers, state machines for interactivity, theming, dynamic slot overrides and performance practices.

Use when

Install

Example output

https://skills.varg.ai/previews/dotlottie-web.mp4 — Output of the repo's web-node example: a Lottie animation (flame to heart to splat) rendered frame by frame with dotLottie Web and saved as a GIF (credit: LottieFiles, https://github.com/LottieFiles/dotlottie-web/tree/main/examples/web-node)

More animation & motion graphics skills