React Native Carousel for Expo

A snapping carousel whose neighbouring slides shrink, fade or tilt with the scroll.

ProiOS · Android · Expo Go
9:41

Props

PropTypeDefault
data

Items to render, one slide each.

T[]—
renderItem

Render a slide. `progress` runs -1 → 0 → 1 across the centre — use it for parallax.

({ item, index, progress, width }) => ReactNode—
keyExtractor

React key for each slide.

(item: T, index: number) => stringindex
itemWidth

Fraction of the carousel (≤ 1) or points. Capped at 460pt for tablets.

number0.82
height

Slide height.

number200
gap

Space between slides.

number12
effect

How neighbours look.

"scale" | "coverflow" | "flat""scale"
pagination

Indicator under the slides; dots are tappable.

"dots" | "expanding" | "bar" | "none""dots"
autoplay

Advance every 3.5s (or N ms); pauses while touched.

boolean | numberfalse
loop

Autoplay wraps to the first slide.

booleantrue
index

Controlled active slide. Pair with onIndexChange so autoplay / swipes update parent state.

number—
defaultIndex

Uncontrolled initial slide (ignored when index is set).

number0
onIndexChange

Fires when the centred slide changes (swipe, dots, autoplay).

(index: number) => void—
accent

Active dot / bar colour.

stringtheme accent
style

Style for the root view wrapping the slides and pagination.

StyleProp<ViewStyle>—
className

Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

string—

Customization

You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.

Design theme

Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).

Variants

Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

accent
string · default theme accentActive dot / bar colour.
style
StyleProp<ViewStyle>Style for the root view wrapping the slides and pagination.
className
stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.

Behaviour & accessibility

Touch
Swipe to snap from slide to slide. Autoplay waits while you drag and resumes after.
Motion
Slide effects are interpolated from the scroll position on the native driver. renderItem also gets a progress value for your own parallax.
Screen readers
The scroller is adjustable, reads "Slide 2 of 5" and supports increment and decrement. Dots are buttons labelled "Go to slide N".
Web
Settles on the nearest slide once scrolling stops, since the web has no snap momentum.

Source

FAQ

How do I make an image carousel in React Native?
Use ExpoKit's Carousel, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made image carousel into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Carousel work in Expo Go?
Yes. Carousel runs in Expo Go on iOS and Android with no development build.
How do I add Carousel to my Expo app?
With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app, so the code is yours to change. The install command is on this page for Pro members.
Is Carousel free?
Carousel is part of ExpoKit Pro. With a Pro plan, log the CLI in once (npx @expokit/cli@latest login) and it installs the full source into your app.
Can I change how Carousel looks?
Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.