Lottie 动画集成 (Lottie Animation Integration)

Community

Integrate Lottie animations into React apps.

Authorchuanyue98
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you add smooth, lightweight Lottie animations to a React UI without fighting asset setup, lifecycle timing, or interaction-driven playback.

Core Features & Use Cases

  • React integration with lottie-react: Use a Lottie component with .json animation data for reliable rendering.
  • Asset sourcing strategy: Decide when to hand-craft simple animations as JSON versus when to reuse complex animations from LottieFiles.
  • Interactive control: Manage play/pause and state transitions with lottieRef, playSegments, goToAndStop, and autoplay={false} for click-driven micro-interactions.

Quick Start

Use the Lottie animation JSON with the Lottie component from lottie-react and set autoplay={false} when you need click or state-based control.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Lottie 动画集成 (Lottie Animation Integration)
Download link: https://github.com/chuanyue98/prompt-gallery/archive/main.zip#lottie-lottie-animation-integration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.