Skip navigation
✨ Introducing Apple Music on React Native!
0:00 / 0:35

✨ Introducing Apple Music on React Native!

Saúl

@saulsharma5.5K followers

Visit on X
703 likesDownloadOriginal post

82,010 views

✨ Introducing Apple Music on React Native! UI with a custom modal view, built with expo, react-native-reanimated, and gesture-handler. Took me about two days, but still needs a few fixes. Link to the GitHub project below 👇

11 Comments

Comments from the original post on X (Twitter)

  • Saúl Sharma's profile picture

    @saul_sharma

    It also supports scroll view and horizontal drag-to-close, similar to Instagram and Netflix app. Still need to implement gradient blur and fix a couple of bugs. Feel free to contribute!

    65 likes

  • Saúl Sharma's profile picture

    @saul_sharma

    Can you tell which one is Expo? 🤭 cc @Baconbrix

    42 likes

  • Expo's profile picture

    @expo

    It's beautiful.

    6 likes

  • Stéphane - smo's profile picture

    @_smontlouis

    amazing job ! The strategy for the modal routing is very well though ! Didn't know you could put other files than routing in the app folder. Isn't it an anti-pattern @Baconbrix ?

    5 likes

  • Stéphane - smo's profile picture

    @_smontlouis

    I'm curious, how did you find that transparentModal + manual translation pattern ? This is a genius way of having navigation + custom modal behaviour. Never seen it before 🤤 Maybe there are some side effects 🧐🤔 @reactiive_ maybe it can be useful.

    5 likes

  • Saúl Sharma's profile picture

    @saul_sharma

    Was just trying every possible way to animate like Apple Music, using formSheet and modal for stack presentation, but couldn’t replicate it. It was frustrating 🤣 So, decided to control the modal manually with RootScale and Overlay. And no side effects afaik, the animation works fine, and perf isn’t impacted.

    1 like

  • Vadim Savin @notJust.dev's profile picture

    @VadimNotJustDev

    Wanna re-build it live on yt on notJust Dev channel?

    4 likes

  • Saúl Sharma's profile picture

    @saul_sharma

    Interesting idea 👀 I’m headed to NYC later today for a week, so maybe next week? I’m also already setting up a repo for “native feel” Netflix and WhatsApp apps, so let’s stay in touch and find time for one of those for sure.

    11 likes

  • Alex Aaron Peña's profile picture

    @alexaaronpena

    does playback control work from control center/lockscreen? play/pause, previous/next, scrub bar

    2 likes

  • Peter Tountas ⚡️'s profile picture

    @PeterTountasCo

    Performance looks incredible. well done. 👏

    2 likes

  • Saúl Sharma's profile picture

    @saul_sharma

    Thanks! Reanimated worklets and composed gestures (by @swmansion) are great

    2 likes