lottie-animations

Convert After Effects animations into Lottie assets for React apps.

Updated May 7, 2026
One-click install
npx skills add https://github.com/TumeloRamaphosa/StudEx-Valley-OS --skill lottie-animations-tumeloramaphosa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lottie-animations
Source: https://github.com/TumeloRamaphosa/StudEx-Valley-OS/tree/main/.claude/skills/claudedesignskills/plugins/bundles/animation-components/skills/lottie-animations
Command: npx skills add https://github.com/TumeloRamaphosa/StudEx-Valley-OS --skill lottie-animations-tumeloramaphosa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Lottie-animations turns designer-made After Effects motion into efficient, web-ready animation components, so your UI can deliver polished micro-interactions without heavy video or manual animation work.

Core Features & Use Cases

  • Export guidance from After Effects (Bodymovin): Produces Lottie-compatible JSON/dotLottie with recommended settings like glyphs, hidden-layer skipping, and JSON compression.
  • React/web integration patterns: Implements Lottie playback using dotLottie React/web (and alternatives like lottie-react/lottie-web), including lifecycle events, play/pause/seek controls, and segment-based interactivity.
  • Interactive and performance-ready rendering: Supports scroll-driven and cursor-driven animations, plus runtime optimizations such as canvas rendering, web workers, lazy loading, and mobile-quality tuning.

Quick Start

Use the Lottie Export Guide to configure Bodymovin in After Effects, export as dotLottie (.lottie), and then render it in your React UI using DotLottieReact with autoplay and loop enabled.

Frequently Asked Questions about lottie-animations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert After Effects animations to Lottie for React?

To convert After Effects animations to Lottie for React, use the Bodymovin extension to export your composition as a Lottie-compatible JSON or dotLottie file with recommended settings like glyph inclusion and hidden-layer skipping. You then render this asset in your React UI using DotLottieReact.

What is the best way to implement Lottie micro-interactions without hurting web performance?

The best way to implement performant Lottie micro-interactions is to apply runtime optimizations such as canvas rendering, web worker offloading, lazy loading, and mobile-quality tuning. Using dotLottie React integration ensures efficient playback and proper component cleanup during interactive scroll or hover-driven sequences.

Does dotlottie-web support scroll-driven and cursor-driven animation sequences?

Yes, dotlottie-web supports interactive scroll-driven and cursor-driven animation sequences. The integration allows you to map playback to user interactions using lifecycle events, play, pause, and seek controls, enabling pixel-faithful interactive sequences in modern React apps.

Can I use lottie-react instead of DotLottieReact for UI motion?

Yes, you can use lottie-react as an alternative to DotLottieReact for UI motion. Both support Lottie playback in React, but DotLottieReact uses the compressed dotLottie format which offers performance benefits over standard JSON exports while still providing lifecycle events and segment-based interactivity.

Why are my Bodymovin exports creating large files for loading animations?

Your Bodymovin exports may be large due to unoptimized settings. To reduce file size for loading animations, apply Bodymovin export best practices such as hidden-layer skipping, JSON compression, and proper glyph configuration before rendering the Lottie assets in your web application.