airbnb /lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/

★ 32,476⑂ 2,978👁 434⑃ 279● 2,921▤ 0
JavaScriptMITCreated 2015-02-20
32,476
stars
2,978
forks
434
watchers
279
prs
2,921
issues
0
releases

README

Lottie for Web, Android, iOS, React Native, and Windows

Lottie is a mobile library for Web,  and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!

For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000:



 View documentation, FAQ, help, examples, and more at airbnb.io/lottie



!Example1


!Example2


!Example3


!Community


!Example4


 Plugin installation

 Option 1 (Recommended):
Download it from from aescripts + aeplugins:
https://aescripts.com/bodymovin/

 Option 2:
Or get it from the adobe store
https://exchange.adobe.com/creativecloud.details.12557.html
CC 2014 and up.

 Other installation options:

 Option 3:
- download the ZIP from the repo.
- Extract content and get the .zxp file from '/build/extension'
- Use the ZXP installer from aescripts.com.

 Option 4:
- Close After Effects
- Extract the zipped file on build/extension/bodymovin.zxp to the adobe CEP folder:
WINDOWS:
C:\Program Files (x86)\Common Files\Adobe\CEP\extensions or
C:\\AppData\Roaming\Adobe\CEP\extensions
MAC:
/Library/Application\ Support/Adobe/CEP/extensions/bodymovin
(you can open the terminal and type:
$ cp -R YOURUNZIPEDFOLDERPATH/extension /Library/Application\ Support/Adobe/CEP/extensions/bodymovin
then type:
$ ls /Library/Application\ Support/Adobe/CEP/extensions/bodymovin
to make sure it was copied correctly type)

- Edit the registry key:
WINDOWS:
open the registry key HKEY_CURRENT_USER/Software/Adobe/CSXS.6 and add a key named PlayerDebugMode, of type String, and value 1.
MAC:
open the file ~/Library/Preferences/com.adobe.CSXS.6.plist and add a row with key PlayerDebugMode, of type String, and value 1.

 Option 5:

Install the zxp manually following the instructions here:
https://helpx.adobe.com/x-productkb/global/installingextensionsandaddons.html
Skip directly to "Install third-party extensions"

 Option 6:

Install with Homebrew-adobe:
bash
brew tap danielbayley/adobe
brew cask install lottie


 After installing
- Windows: Go to Edit  Preferences  Scripting & Expressions...  and check on "Allow Scripts to Write Files and Access Network"
- Mac: Go to Adobe After Effects  Preferences  Scripting & Expressions...  and check on "Allow Scripts to Write Files and Access Network"

Old Versions
- Windows: Go to Edit  Preferences  General  and check on "Allow Scripts to Write Files and Access Network"
- Mac: Go to Adobe After Effects  Preferences  General  and check on "Allow Scripts to Write Files and Access Network"

 HTML player installation
bash
 with npm
npm install lottie-web

 with bower
bower install bodymovin

Or you can use the script file from here:
https://cdnjs.com/libraries/bodymovin
Or get it directly from the AE plugin clicking on Get Player

 Demo
See a basic implementation here. 

 Examples
See examples on codepen. 

 How it works
Here's a video tutori

Top issues

Snapshot: 2026-11-16T23:08:42Z · Data license Apache-2.0 · JSON