UI Animations with Lottie and After Effects: Create, render, and ship stunning animations natively on mobile with React Native
- Length: 302 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-06-30
- ISBN-10: 1803243805
- ISBN-13: 9781803243801
- Sales Rank: #0 (See Top 100 Books)
Understand and develop immersive animations along with animated stickers for Telegram using Bodymovin, After Effects and LottieFiles and integrate them in your React Native apps using this color guide to UI animations
Key Features
- Explore key principles of storytelling, 2D digital animation, and design thinking
- Create animations in After Effects, learn how to export them with both Bodymovin and LottieFiles plugins, and tweak them using the LottieFiles platform
- Understand how to implement Lottie animations with React Native
Book Description
Lottie is a small and scalable JSON-based animation file. LottieFiles is the platform where Lottie animations can be uploaded, tested, and shared. By combining the LottieFiles plugin and the LottieFiles platform, you’ll be able to create stunning animations that are easy to integrate in any device. You’ll also see how to use the Bodymovin plugin in After Effects to export your animation to a JSON file.
The book starts by giving you an overview of Lottie and LottieFiles. As you keep reading, you’ll understand the entire Lottie ecosystem and get hands-on with classic 2D animation principles. You’ll also get a step-by-step guided tour to ideate, sketch for storytelling, design an icon that will fulfill the needs and expectations of users based on UX, and finally animate it in Adobe After Effects. This will help you get familiar with the After Effects environment, work with vector shape layers, create and modify keyframes using layer properties, explore path and mask features, and adjust timing easily to create professional-looking animations.
By the end of this animation book, you’ll be able to create and export your own Lottie animations using After Effects and implement them in mobile apps using React Native. You’ll also have an understanding of 2D animation best practices and principles that you can apply in your own projects.
What you will learn
- Get started with Lottie and integrate animations either by creating them from scratch or by downloading them through LottieFiles
- Explore the key principles of 2D classic animation
- Understand the basics to create your first animation using After Effects
- Export your animations into Lottie JSON files through Bodymovin
- Integrate your very first Lottie icon animation inside your React Native app
- Control your animation within the app through React APIs, while exploring best practices and common pitfalls
Who this book is for
This book is for developers and engineers who are already familiar with React Native, as well as UX and UI designers who want to create their own animations and integrate them with their platforms through React Native. Basic knowledge of JavaScript programming is assumed. Beginner-level illustration skills are also preferred, although not necessary.
UI Animations with Lottie and After Effects Contributors About the authors About the reviewers Preface Who this book is for What this book covers To get the most out of this book Download the example code files Download the color images Conventions used Get in touch Share Your Thoughts Part 1 - Building a Foundation With After Effects and LottieFiles Chapter 1: Get Started With Lottie Technical requirements How to use this book Introduction to Lottie Why is it called Lottie? The man behind the scenes What is Lottie? Do you still need more reasons to start using Lottie? What is LottieFiles? What can I do with LottieFiles? Tools to create Lottie animations and integrations Adobe After Effects The Lottie extension for Adobe Animate The LottieFiles platform Summary Chapter 2: Creating the Illusion: Get Rolling With the Basic Principles of 2D Classic Animation Technical requirements Introduction to 2D animation The 12 principles of 2D animation Squash and stretch Anticipation Staging Straight-ahead action and pose-to-pose Follow through and overlapping action Ease in and ease out Arcs Secondary action Timing Exaggeration Solid drawing Appeal Frames, keyframes, and inbetweens Frames Keyframes Inbetweens Timeline, timing, and ease Timeline Timing and ease Drawing our icon Storyboarding Summary Chapter 3: Learning the Tools: Getting Familiar With After Effects Technical requirements Getting to know the AE workspace Customizing our workspace Project panel Understanding compositions Timeline Understanding layers Type of layers Layer properties Animating using the Parent & Link option Keyframes and animation Exploring ease Easy ease Graph Editor Summary Part 2 - Cracking Lottie Animations Chapter 4: Move It! Animating Our First Lottie With After Effects Technical requirements Creating your first project in Adobe AE – an animated check icon Importing our icon to After Effects Importing files from Sketch to AE Importing files from Figma to AE Exporting assets from XD to AE UX animation workflow Adjusting our icon composition settings Understanding our check icon layers Adding Keyframes Changing scale Adjusting the Opacity Trim Paths Working with radial bursts Adding ease Summary Chapter 5: Share It With the World: Working With LottieFiles Technical requirements Exporting our animation for handoff Exporting our animation using Bodymovin Exporting our animation using LottieFiles Creating a user account in LottieFiles Exploring the LottieFiles dashboard My Downloads My Likes My Public Animations My Purchases My Private Animations The importance of testing in desktop and mobile LottieFiles platforms Previewing .json files using the LottieFiles plugin for AE Uploading and previewing .json files on the LottieFiles platform Previewing our Lottie animations in the mobile LottieFiles app Creating and editing a Lottie without using AE Lottie URL Lottie properties Layers Converting SVGs to animated Lotties in seconds Converting Lottie to GIF in just one click Creating your own personal stickers for Telegram Summary Chapter 6: Don’t Stop! Exploring Plugins and Resources That Will Keep You Going Technical requirements Downloading and installing the necessary plugins and tools Downloading and installing Adobe AE Downloading and installing the Bodymovin plugin for AE Downloading and installing the LottieFiles plugin for AE Downloading and installing the AEUX plugin for Sketch and Figma Installing ZXP Extension Manager The LottieFiles platform Supported Lottie features for iOS, Android, and the web Shapes Fills Strokes Transforms Interpolation Masks Mattes Merge paths Layer effects Text Other Keyboard shortcuts that will make your life easier General shortcuts Transform properties shortcuts Frames and keyframes shortcuts Layers shortcuts Free graphic resources and UX/UI inspiration Graphic resources UX/UI inspiration Summary Part 3 - Adding Your Lottie Animations Into Mobile Apps Chapter 7: An Introduction to lottie-react-native How did lottie-react-native come into being? What is lottie-react-native? Why are we not using Animated or Reanimated? The basics of lottie-react-native The open source project Platforms Versions The npm package Summary Chapter 8: Installing lottie-react-native Basic installation Using npm Using Yarn Other dependencies of lottie-react-native Installation requirements iOS devices Android devices Limited features of the lottie-react-native library Installing previous versions Summary Chapter 9: Let’s Do Some Magic: Integrating Your First Lottie Animation Understanding the Lottie file elements Using a Lottie file in a React Native app Using lottie-react-native in your TypeScript app Finding documentation for lottie-react-native Using remote Lottie files Using Lottie files with assets Summary Chapter 10: How To Nail It: Controlling Your Animation Technical requirements The declarative API speed onAnimationFinish colorFilters textFiltersAndroid and textFiltersIOS The imperative API Summary Chapter 11: Any Questions? lottie-react-native FAQs 1. I added an effect to my animation but it's not rendered in the app 2. The animation is not rendered at all in my app 3. The animation looks stretched 4. How can I pause an animation? 5. How can I reverse an animation? 6. My animation is rendered on an iOS device but not on an Android device 7. My animation is rendered on an Android device but not on an iOS device 8. My app won't build on iOS after installing lottie-react-native 9. Some frames are not showing in my animation 10. My animation is showing the wrong colors or no colors at all 11. How can I use my Lottie animation as a splash screen? 12. There are images missing in my animation 13. How can I center my animation in the app? 14. How can I play my animation a set number of times? 15. My animation has a low playback performance 16. How can I change the colors of my animation programmatically? 17. How can I use a remote Lottie animation file in my app? 18. My app is crashing on Android 19. An error shows on my app – Cycle dependencies between targets 20. An error shows on my app – Execution failed for task ':lottie-react-native:compileDebugJavaWithJavac' Summary Why subscribe? Other Books You May Enjoy Packt is searching for authors like you Share Your Thoughts
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: UI Animations with Lottie and After Effects: Create, render, and ship stunning animations natively on mobile with React Native
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.