Skip to content
A watch melts into a laptop, then a phone and a Mac mini: tall and wide outlines pour into each other while the title slides

Morph Carousel

A carousel for Expo and React Native whose images melt into each other like liquid while the pages slide. Every demo on this site runs live, and its full source is one click away.
Live demo. Swipe it, tap it.Open full screen ↗

A watch, a laptop, a phone, a Mac mini: product shots cut out to their outline, tall and wide in turn. Swipe or tap the phone and watch one outline pour into the next, while the title and the button slide underneath.

  • The blob takes the shape of the product it leaves and reforms as the next one, drawn with Skia on the UI thread.
  • At rest the image is sharp: the effect fades out completely between swipes.
  • The button takes the color of the product in view through renderFooter.

How it is built, with the full source →

The same screen on an iPhone and on an unfolded iPhone Duo, swiped together. The carousel measures itself: on the wider screen the liquid keeps its shape, and the example lays its screens out as a centered column.

The product showcase on an iPhone 18 Pro and an unfolded iPhone Duo side by side, at the same scale: on both, a watch melts into a laptop, then a phone, a Mac mini and more, at the same moment

Fold it between swipes and the outer screen wakes on the same page; unfold it and the wide layout comes back on the page you swiped to.

An iPhone Duo folded and unfolded while the product showcase is on screen: on the inner screen a watch melts into a laptop and a phone; folded, the outer screen wakes on the same phone and swipes on to a Mac mini; unfolded again, the inner screen shows that page at its wide size
Terminal window
npx expo install expo-morph-carousel @shopify/react-native-skia expo-file-system \
react-native-reanimated react-native-worklets react-native-gesture-handler
Live demo. Swipe it, tap it.Open full screen ↗
<MorphCarousel
data={shapes}
getImage={(s) => s.image}
style={{ height: 520 }}
renderItem={({ item }) => <Text>{item.title}</Text>}
renderFooter={({ next }) => <Button title="Continue" onPress={next} />}
/>

That is all the phone on the left needs. Usage has the whole file, ready to copy.

Liquid morph

Between two pages the image dissolves into a blob and reforms as the next one, drawn with Skia on the UI thread. At rest the image is never blurred.

Page layouts

Slide, parallax, stack, coverflow, a solid 3D cube, flip, tinder, or your own worklet. Pages narrower than the carousel show their neighbors.

Slots

Replace the pagination, each dot, or draw over and behind the media. Every slot gets the position as a shared value, so it moves with the finger.

Remote images

A disk cache with expiry, srcset-style picking by size, priorities and prefetching, so swipes rarely wait.

Pager behavior

Snap, momentum or free, loop, autoplay, vertical, right-to-left, tap to navigate, and a ref API to drive it.

iOS, Android, web

The same code on every platform, with screen reader and keyboard support.

Start from an example, then go further with the slots: your own pagination, dots, overlays and backgrounds, all driven by the carousel’s position on the UI thread. Or write a page layout or a media effect as a worklet.

expo-morph-menu is a floating action button for expo-router that grows into a card menu, then into a full-screen route, and shrinks back on close. Same author, same stack (Reanimated 4, iOS, Android, web), and the two work together: the info button on the shop product page here is expo-morph-menu, and the shop demo in expo-morph-menu opens on a banner made with this carousel.