Compare

Compare

When to use it

Use react-native-reanimated-carousel for any swipeable row or column of items: banners, image galleries, product cards, onboarding screens and card stacks.

  • Items can be narrower than the carousel, so the neighbors peek in.
  • loop, autoplay and snapMode ("page", "nearest" or "none") are props.
  • Parallax and stack layouts are built in. For anything else, itemAnimation takes your own Reanimated worklet.
  • Gestures and animations run on the UI thread through Reanimated and Gesture Handler.
  • The same code runs on iOS, Android and web. The library has no native module of its own, so it works in Expo Go.

PagerView

react-native-pager-view (opens in a new tab) and its @expo/ui drop-in (opens in a new tab) wrap the platform's native pager. Each child fills the whole pager, one page at a time. Neither runs on web, and neither has a built-in loop or autoplay.

Pick PagerView when you want the platform's own page swipe for full-screen pages on iOS and Android only. Pick this library when items should peek, loop, autoplay, animate as a parallax or stack, or run on web too.

react-native-snap-carousel

react-native-snap-carousel is no longer maintained. React Native Directory (opens in a new tab) lists react-native-reanimated-carousel as its alternative.

With looping on, fast swipes make react-native-snap-carousel stall at the loop seam while it waits for the next item to render:

react-native-snap-carousel

react-native-reanimated-carousel keeps up at about ten swipes per second (the GIF frame rate hides some of it):

react-native-reanimated-carousel