airbnb

lottie-ios

A native animation rendering library for iOS, macOS, tvOS, and visionOS that renders After Effects bodymovin JSON vector animations in real-time with support for playback, resizing, looping, reversing, and interactive scrubbing.

4.6.1
Published at
Jun 13, 2026
26,897
Stars
11,917,810
Download
Synced at
Oct 10, 2026

Latest release

4.6.1Jun 13, 2026, 04:30 PM
Downloads slow? Switch the source anytime above

README

Project Overview

Lottie is a cross-platform library for iOS, macOS, tvOS, visionOS, Android, and Web that natively renders vector-based animations and art in real-time with minimal code. It loads and renders animations exported in the bodymovin JSON format, which can be created from After Effects with the bodymovin plugin, Sketch with Lottie Sketch Export, and Haiku. Designers can create and ship beautiful animations without engineers painstakingly recreating them by hand.

Key Features

  • Real-time rendering of After Effects bodymovin JSON vector animations
  • Playback, resizing, looping, speeding up, slowing down, reversing, and interactive scrubbing
  • Play or loop just a portion of the animation
  • Runtime modification: change color, position, or any keyframable property
  • Supports Swift Package Manager, CocoaPods, and Carthage

Target Audience

  • iOS, macOS, tvOS, and visionOS app developers
  • Designers and engineers who want to integrate high-quality vector animations into apps

Quick Start

  1. Add via Swift Package Manager: .package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.6.1")
  2. Or install via CocoaPods
  3. Load a JSON animation file and play it in code

Core Advantages

  • Cross-platform support for iOS, macOS, tvOS, visionOS, Android, and Web
  • JSON-driven animations are extremely small but can be highly complex
  • Runtime animation property modification

System Requirements

  • OS: iOS, macOS, tvOS, visionOS

Release history

Sort