Perspective Menu Animation in React Native with Reanimated 2

Reactiive
Reactiive
11.2 هزار بار بازدید - 3 سال پیش - In this tutorial we’ll learn
In this tutorial we’ll learn how to create a Perspective Menu Animation in React Native.
We'll use these packages:
- react-native-reanimated
- react-native-gesture-handler

My React Native animations course: https://www.reanimate.dev

Learn more about React Native: https://www.reactiive.io

Support me on Patreon: Patreon: reactiive 🤓
Follow me on Twitter: Twitter: reactiive_

Source code: https://github.com/enzomanuelmangano/...

How to deal with SafeAreaView?
Check this repo: https://github.com/th3rdwave/react-na...

How to deal with the useAnimatedGestureHandler hook?
Check this video: The basics of PanGestureHandler with ...

Here you can find the Expo Vector Icons: https://icons.expo.fyi/

The main concepts we'll explore are:
- PanGestureHandler + useAnimatedGestureHandler
- interpolate function from Reanimated

Chapters:
00:00 Introduction
00:35 Setup
03:00 The PanGestureHandler
06:50 Dealing with Context
09:30 The onEnd callback
11:05 Perspective animation
15:03 borderRadius
15:33 Menu Icon
18:40 GestureHandlerRootView
3 سال پیش در تاریخ 1400/10/17 منتشر شده است.
11,228 بـار بازدید شده
... بیشتر