Lottie is a JSON-based animation format. You describe vector animations (originally from After Effects via Bodymovin, now also from Claude, Figma, or LottieFiles) as a .json file. It plays back at any size, on web, iOS, Android, and macOS.
- Web:
lottie-webnpm package or CDN. React wrapper:@lottiefiles/react-lottie-player - iOS/macOS:
lottie-spm(Swift Package Manager) — first-class SwiftUI support viaLottieView - Framer: Lottie JSON files drop in natively — no code required