React Navigation: How to Hide Header in React Native

In this blog post, let’s learn how to customize the header in React Navigation to hide it from screens. This is a common requirement for many React Native apps. Here, I am not covering how to install and use react navigation. For that, you can check out my blog post here. We can hide the … Read more

How to Create Click and Drag Animation in React Native

This is the tenth part of react native animation tutorial series. Here, let’s learn how to create a drag animation in react native. What I really mean is – a click and drag animation where the user can hold, drag and drop the view anywhere on the screen. We are trying to create the following … Read more

How to Create Delays in between Animations in React Native

In the previous blog post, we went through how the multiple animations are managed using methods such as parallel() and sequence(). Now, let’s discuss how to add delays in between animations in react native. When you are composing animations with sequence() and stagger() you can use Animated.delay() method to begin animations after a delay. Let’s … Read more

How to Manage Multiple Animations in React Native

This is the eighth part of react native animation tutorial series. In this blog post, let’s see how to manage multiple animations in react native. There are three Animated methods for this sequence(), parallel(), and stagger(). The sequence() method accepts an array of multiple animations and runs them one after another, ie sequentially. Following is … Read more

React Native Interpolation Example

React Native animation tutorials cannot be completed without learning interpolation. Interpolation helps you to create good animations by mapping input ranges to output ranges. It gives you fine control over what output should be attained when a specific input value is fed. For example, this is how you use the interpolate method. What this means … Read more

How to Start and Stop Animations in React Native

In the previous tutorials of react native animation series, we discussed how different types of animations are created in react native. In this blog post, let’s see how to start and stop animations in react native. Sometimes, even though we define a specific time for animation we may need it to get stopped to enhance … Read more

How to Create Looping Animations in React Native

In the previous blog post about animation, we discussed how to create spring animation in react native, and now, let’s see how to create animations that loop over how many iterations we define. In order to create looping animations in react native, we should use Animated.loop() method. Wrap your Animations within Animated.loop() and the animations … Read more

How to Create Spring Animation in React Native

This is the fourth part of the react native animation tutorial series. I have already posted about fading animations, scaling animations, and moving animations. In this blog post, let’s discuss how to add a spring animation effect in react native. By spring animation what I mean is an animating movement that follows spring animation. In … Read more

How to Create Moving Animations in React Native

What if you want to create animated moving objects in your react native app? Then, you are in the right place. This is the third part of the react native animation tutorial series. As we did earlier, in order to move a view over the x-axis, the y-axis, or both you have to use Animated … Read more

How to Create Scaling Animations in React Native

This blog post is the second part of the recently started react native animation series. We already went through fade animations in react native and now let’s check out how to create scaling animations in react native. Scaling can be done in three ways: scaling through the x-axis, scaling through the y-axis, and scaling through … Read more

How to Create Fade Animations in React Native

When I started learning react native, I didn’t consider learning animations. I was unaware of the importance of animations in mobile app development. Only later I realized without animations my apps are just rigid. To create a visually appealing mobile app you must wisely implement animations. Animations make the user interface butter smooth or make … Read more