A Custom playful, interactive toolbar made in React Native with cool gesture based interruptible animations.
- Toolbar.tsx:- Implementation using reanimated & gesture-handler.
- ToolbarAnimated.tsx:- Implementation using built-in Animated and Gesture APIs.
rn_custom_toolbar_demo_ios.mov
- Toolbar buttons expands on long click
- After long press on any button, using gestures haptics play as you scrub through the items (No conflict with default list scrolling)
- The items scale up/down as they become show/hide while scrolling.
- Scroll Rubberbanding effect when scrolling past the top or bottom, which stretches the item's spacing out (works on iOS only)
- react-native-gesture-handler:- Long & Pan gesture to activate the items
- react-native-reanimated:- All the animation logic & also for scroll handler
- react-native-vector-icons:- Google Material icons
- react-native-sfsymbols:- Apple's SF Symbols (iOS only)
Inspired by this original iOS implementation by jtrivedi.
- YouTube Tutorial
- Demo: twitter | youtube short 1, short 2