Gathering detailed insights and metrics for lottie-ios
Gathering detailed insights and metrics for lottie-ios
Gathering detailed insights and metrics for lottie-ios
Gathering detailed insights and metrics for lottie-ios
cordova-plugin-lottie-splashscreen
Apache Cordova plugin to show Lottie animations as the splash screen with Airbnb's Lottie wrapper
react-native-lottie-splash-screen
A lottie splash screen for react-native, hide when application loaded ,it works on iOS and Android.
@titanium/lottie
⭐ Axway Amplify modules to use Airbnb Lottie animations with Appcelerator Titanium SDK
nativescript-lottie
NativeScript plugin to expose AirBnB Lottie library
An iOS library to natively render After Effects vector animations
npm install lottie-ios
Typescript
Module System
Node Version
NPM Version
Swift (98.84%)
Ruby (1.16%)
JavaScript (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
26,333 Stars
1,329 Commits
3,804 Forks
464 Watchers
8 Branches
241 Contributors
Updated on Jul 11, 2025
Latest Version
4.5.1
Package Id
lottie-ios@4.5.1
Unpacked Size
3.38 MB
Size
923.47 kB
File Count
320
NPM Version
10.5.1
Node Version
22.0.0
Published on
Jan 03, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
View documentation, FAQ, help, examples, and more at airbnb.io/lottie
Lottie is a cross-platform library for iOS, macOS, tvOS, visionOS, Android, and Web that natively renders vector-based animations and art in realtime with minimal code.
Lottie loads and renders animations and vectors exported in the bodymovin JSON format. Bodymovin JSON can be created and exported from After Effects with bodymovin, Sketch with Lottie Sketch Export, and from Haiku.
Designers can create and ship beautiful animations without an engineer painstakingly recreating them by hand. Since the animations are backed by JSON, they are extremely small in size but can be large in complexity! Animations can be played, resized, looped, sped up, slowed down, reversed, and even interactively scrubbed. Lottie can play or loop just a portion of the animation as well, the possibilities are endless! Animations can even be changed at runtime in various ways! Change the color, position, or any keyframable value!
Here is just a small sampling of the power of Lottie
Lottie supports Swift Package Manager, CocoaPods, and Carthage (Both dynamic and static).
You can pull the Lottie Github Repo and include the Lottie.xcodeproj
to build a dynamic or static library.
To install Lottie using Swift Package Manager you can follow the tutorial published by Apple using the URL for the Lottie repo with the current version:
or you can add the following dependency to your Package.swift
:
1.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.5.0")
When using Swift Package Manager we recommend using the lottie-spm repo instead of the main lottie-ios repo. The main git repository for lottie-ios is somewhat large (300+ MB), and Swift Package Manager always downloads the full repository with all git history. The lottie-spm repo is much smaller (less than 500kb), so can be downloaded much more quickly.
Instead of downloading the full git history of Lottie and building it from source, the lottie-spm repo just contains a pointer to the precompiled XCFramework included in the latest lottie-ios release (typically ~8MB). If you prefer to include Lottie source directly your project, you can directly depend on the main lottie-ios repo by referencing https://github.com/airbnb/lottie-ios.git
instead.
Add the pod to your Podfile:
1pod 'lottie-ios'
And then run:
1pod install
After installing the cocoapod into your project import Lottie with
1import Lottie
Add Lottie to your Cartfile:
github "airbnb/lottie-ios" "master"
And then run:
carthage update
In your application targets “General” tab under the “Linked Frameworks and Libraries” section, drag and drop lottie-ios.framework from the Carthage/Build/iOS directory that carthage update
produced.
Lottie supports Swift / Xcode versions back to the minimum version that is permitted by Apple for submissions to the App Store. You can see the most up-to-date information for which Swift versions Lottie supports on Swift Package Index:
Lottie does not collect any data. We provide this notice to help you fill out App Privacy Details. We additionally provide a privacy manifest which can be included in your app.
We distribute XCFramework bundles for each release on GitHub. In Lottie 4.4.0 and later, these XCFramework bundles include a code signature. These bundles are self-signed under the name "Lottie iOS" and have the following fingerprint:
89 2F 1B 43 04 7B 50 53 8F 2F 46 EA D9 29 00 DD 3D 48 11 F358 21 78 C0 61 A5 FB 20 F1 11 CB 26
In Xcode you can verify this by selecting Lottie.xcframework
and confirming that it shows the following information:
We always appreciate contributions from the community. To make changes to the project, you can clone the repo and open Lottie.xcworkspace
. This workspace includes:
All pull requests with new features or bug fixes that affect how animations render should include snapshot test cases that validate the included changes.
.json
file to Tests/Samples
. Re-run the snapshot tests to generate the new snapshot image files.isRecording = true
in SnapshotTests.swift
setUp()
method and then re-run the snapshot tests.The project also includes several helpful commands defined in our Rakefile. To use these, you need to install Bundler:
1$ sudo gem install bundle 2$ bundle install
For example, all Swift code should be formatted according to the Airbnb Swift Style Guide. After making changes, you can reformat the code automatically using SwiftFormat and SwiftLint by running bundle exec rake format:swift
. Other helpful commands include:
1$ bundle exec rake build:all # builds all targets for all platforms 2$ bundle exec rake build:package:iOS # builds the Lottie package for iOS 3$ bundle exec rake test:package # tests the Lottie package 4$ bundle exec rake format:swift # reformat Swift code based on the Airbnb Swift Style Guide
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
Found 24/30 approved changesets -- score normalized to 8
Reason
5 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 6
Reason
6 existing vulnerabilities detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More