• Stars
    star
    313
  • Rank 133,714 (Top 3 %)
  • Language
    TypeScript
  • Created over 2 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Instagram iOS page transitions implementation with FlashList and Reanimated

app icon

React Native Instagram Page Transition

Warning This is an experimental project. I have always been impressed with Instagram's iOS page transitions. I tried to implement the same with the following technologies. The result was much better than I expected. There are still some things to do to provide the same experience. Using it in production is not recommended.

Stack

Want to try?

If you want to try this on your device, you can install and run the app in a few seconds with the following commands;

Install the packages:

yarn install

Run the app with the following command.

Warning Be sure that Expo CLI is installed.

yarn ios

That's it, enjoy 🀞🏽

Unsplash API

In this project, I used Unsplash API to get awesome images. To try on your own, you'll need to create and app on Unsplash dashboard and get the Client ID and replace that id in the /constants/api.ts with YOUR_UNSPLASH_CLIENT_ID.

Challanges / Todo's

  • Integrate with the transition api from Reanimated.
  • Custom list inside details screen. Just like the Instagram, in every detail screen, we can implement new lists by fetching another query. Currently, it's just rendering FlashList with only selected image.
    • After scrolling down in details list, when close the details screen, we can do show first image by fading or change the original one with the last image scrolled.
  • Integrating this with the React Navigation would be super cool.

License

The source code is made available under the MIT license.

Show Your Support

If you like this project, please give a star and follow me on Github for more 🀩

More Repositories

1

react-native-hold-menu

πŸ“± A performant, easy to use hold to open context menu for React Native powered by Reanimated πŸš€
TypeScript
1,407
star
2

rn-swipeable-panel

Zero dependency swipeable bottom panel for React Native πŸ“±
TypeScript
970
star
3

json-data-ai-template

JSONDataAI.com template with Next.js 13 and Vercel AI SDK
TypeScript
570
star
4

react-native-ios

iOS UI implementation in React Native with gestures and animations 🍏
TypeScript
361
star
5

awesome-course

Create awesome courses that let your audience learn by coding ⌨️
TypeScript
254
star
6

sticker-store

E-commerce website powered with Next.js.
TypeScript
40
star
7

hyper-rename-tab

Hyper plugin to rename your tabs
JavaScript
29
star
8

chatectron

Web socket implementation with Socket.io & Electron & React JS πŸ’¬ πŸ–₯
JavaScript
17
star
9

website

βšͺ️ My personal website with Next JS, & Tailwind
TypeScript
15
star
10

myrteal

13
star
11

tcdd-bilet-bul

TCDD ΓΌzerinde sefer sorgusu yapΔ±p telefonunuza bildirim gΓΆnderen Python Scripti πŸš‚
Python
12
star
12

react-native-onesignal-example

This is an example project for OneSignal push notification setup
JavaScript
9
star
13

solito-nativewind

Example setup with Solito & Nativewind
TypeScript
8
star
14

react-native-jsi-example

Example React Native library written with JSI
Java
8
star
15

nextjs-page-transitions

Page transition example with React Spring on Next Js application
JavaScript
6
star
16

react-native-hold-menu-expo-example

Showcase project for React Native Hold Menu with Expo πŸ”₯
TypeScript
5
star
17

solidity-playground

My playground repo for learning Solidity with CryptoZombies
Solidity
4
star
18

react-native-reanimated-playground

My playground repo for creating animations with Reanimated v1.
TypeScript
3
star
19

rick-and-morty

Example app with Rick and Morty API including Snapshot & Unit tests
TypeScript
2
star
20

deploy-next-to-x

Guides to deploy your Next JS apps πŸ“˜
1
star
21

DesignPatterns

Gang of four design patterns with samples
C#
1
star
22

nft-react-goerli-test

CSS
1
star
23

swift-apollo-image-upload

Example app to upload
Swift
1
star
24

enesozturk

1
star