Props
| Prop | Type | Default |
|---|---|---|
| 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) => string | index |
| itemWidth Fraction of the carousel (≤ 1) or points. Capped at 460pt for tablets. | number | 0.82 |
| height Slide height. | number | 200 |
| gap Space between slides. | number | 12 |
| 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 | number | false |
| loop Autoplay wraps to the first slide. | boolean | true |
| index Controlled active slide. Pair with onIndexChange so autoplay / swipes update parent state. | number | — |
| defaultIndex Uncontrolled initial slide (ignored when index is set). | number | 0 |
| onIndexChange Fires when the centred slide changes (swipe, dots, autoplay). | (index: number) => void | — |
| accent Active dot / bar colour. | string | theme 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?
Does Carousel work in Expo Go?
How do I add Carousel to my Expo app?
Is Carousel free?
npx @expokit/cli@latest login) and it installs the full source into your app.Can I change how Carousel looks?
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.