iOS Home Grid Animation
Tuesday, June 3, 2025
Scan to try on your device
Need the app?
reanimated
gesture-handler
expo-blur
react-navigation
demos
ios-home-grid
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
Have you ever wondered how Apple creates those buttery-smooth animations when you tap an app icon on your iPhone?
I wondered about this too ๐
When you tap an app icon, watch as it elegantly expands from its tiny square into a full-screen experience - just like on your iPhone home screen.
I had this idea in mind since forever and I'm not done with it yet!
In the next weeks, I'll be doing a series of improvements to this one.
How It Works
The magic happens in several steps:
Touch Detection - Captures tap location using React Native Gesture Handler
Position Measurement - Gets icon dimensions and position using layout measurements
Expansion Animation - Scales up the icon using spring physics with Reanimated
Border Radius - Animates border radius from icon corners to full screen
Navigation - Handles screen transitions and back gesture interactions
The reverse animation when going back is equally smooth, shrinking from full screen right back to the original icon position.
How the Code is Organized
src/
โโโ apps-list/
โ โโโ index.tsx โ The main grid that shows all the app icons
โ โโโ app-item.tsx โ Each individual app icon component
โ โโโ constants.ts โ All the beautiful gradient color combinations
โโโ navigation/
โ โโโ expansion-provider.tsx โ The brain that orchestrates all animations
โ โโโ navigation-item.tsx โ Handles taps and triggers transitions
โ โโโ MainScreenWrapper.tsx โ Wraps the home screen with special powers
โ โโโ DetailScreenWrapper.tsx โ Wraps the detail screen for smooth exits
โโโ app-detail-screen.tsx โ The full-screen view you see after tapping
โโโ index.tsx โ Brings everything together with navigation
Unlock the beauty of React Native animations
Learn Reanimated, Gesture Handler & Skia with Reanimate.dev
Feedback on Ios Home Grid
Ideas, bugs, or anything that felt off: I read every message. For anything else, write to hello@reactiive.io.
Send feedback