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
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
#1604Adobe Animate and Bodymovin / Lottie183 comments · 2019-05-06#1666Change color of a animation file87 comments · 2019-06-08#2927Use of eval in "node_modules/lottie-web/build/player/lottie.js" is strongly discouraged as it poses security risks and may cause issues with minification.87 comments · 2023-01-30#1944When I export my animation nothing is actually exported.43 comments · 2020-01-17#791Why all the values inside animated keyframe object for opacity are of array type?40 comments · 2017-12-29#1201Gradient cannot be exported correctly.39 comments · 2018-08-19#2335Rubberhose to lottie - animation works except limbs25 comments · 2020-10-20#1860[feature request] Make it possible to initialize a lottie instance without giving a reference to a DOM node24 comments · 2019-11-11