Sliding Counter Animation in React Native (Reanimated 2)
In this tutorial, we’ll learn how to create a Sliding Counter Animation in React Native. We'll use these packages: - react-native-reanimated - react-native-gesture-handler My React Native animations course: https://reanimate.dev Shared 100+ Animations on Demos: https://reactiive.io/demos Twitter: https://twitter.com/reactiive_ Source code: https://github.com/enzomanuelmangano/animate-with-reanimated/tree/main/src/animations/12-sliding-counter Dribbble Animation: https://dribbble.com/shots/16434514-Tally-Counter-Micro-Interaction Clamp, SharedValue, Worklets ?! 🤕 Here's the introduction to Reanimated https://youtu.be/yz9E10Dq8Bg How to deal with the interpolate function? 1. Interpolate like a pro: https://youtu.be/SqwpRr7kbnQ 2. Interpolate colors: https://youtu.be/U_V9pHnTXjA How to deal with the useAnimatedGestureHandler hook? Check this video: https://youtu.be/4HUreYYoE6U Here you can find the Expo Vector Icons: https://icons.expo.fyi/ Chapters: 00:00 Introduction 00:50 Setup 05:40 Translate everywhere 11:15 Clamping the translations 14:42 The opacity animations 19:15 Translate Y 25:23 Let's build the counter behavior 33:13 The button container animation
Download
0 formatsNo download links available.