Shared elements like transitions in pure javascript. It is not exactly native shared elements but looks like.
https://www.freecodecamp.org/news/shared-element-transition-with-react-native-159f8bc37f50/
git clone https://github.com/abhijeetskadam/react-native-shared-elements-gallery.git
cd react-native-shared-elements-gallery
npm i
npm start
react-native run-android or run-ios