r/reactnative • u/Competitive-Yak4291 • 18h ago
I built my own Safari-style tab view in React Native, with similar animations and gestures
I built a custom Safari-style UI in React Native, trying to get the animations and gestures to feel like the real thing.
Here's what I've got working:
Tap a tab and its page grows out of the card to fill the screen
Pinch an open page and it shrinks into its card, with a little haptic when the pinch takes hold
Swipe a card left to close it, and the rest slide in to fill the gap
Hold and drag to reorder
Search your tabs and watch them rearrange
Pages remember where you scrolled, and the cards show it
Liquid glass bars on iOS 26
It runs on react-native-reflow-grid, a grid library I've been building where items glide into place whenever things change. This demo has been my way of pushing it to see what it can do. It uses Reanimated 4, Gesture Handler and expo-glass-effect.
The code is in example/safari if you want to poke around: https://github.com/bradenacurtis801/react-native-reflow-grid
I'd love to hear what you think