Animations
Last updated
What is Animations?
React Native supports two types of animations: Animated and LayoutAnimation. The Animated API provides a basic set of methods for creating and managing animations, while the LayoutAnimation API provides a way to animate changes from one layout to another.
Animated is a declarative API that focuses on handling animation-related calculations. It allows you to create and combine animations with fine-grained control over the specific properties that are being animated. You can use this API to create a variety of effects, such as fading, scaling, and translating components on the screen.
LayoutAnimation is a higher-level abstraction for animating changes to the layout. Instead of animating individual properties, you define how the changes should occur and React Native takes care of updating the layout accordingly. This is particularly useful for animating multiple components or modifying the layout in response to user interaction, such as adding/removing/reordering items in a list.
Free resources to learn Animations
- Official docsAnimations
- Official docsLayoutAnimations
- Official docsAnimated
More in stage 8: Interactions
Animations: common questions
Can I learn Animations in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Animations in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Animations tutorial for beginners?
It is lesson 56 of 94 in the free React Native roadmap, in stage 8, Interactions. If you are new to React Native, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.