Sign in to Reactiive

Use your Google or Apple account.
Signing in subscribes you to the newsletter: new content and the occasional promotion. Unsubscribe at any time.
Skip to content

iOS Home Grid Animation

Tuesday, June 3, 2025
reanimated
gesture-handler
expo-blur
react-navigation
enzomanuelmangano
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