Component
Slideshow
Swipeable, paginated image carousel with drag, snap, dots and optional auto-advance.
Fresh deals
Up to 40% off
jsx
<Slideshow
autoLoop
slides={[
{ image: '/a.jpg', title: 'Fresh deals', subtitle: 'Up to 40% off' },
{ image: '/b.jpg', title: 'New arrivals' },
{ image: '/c.jpg', title: 'Local favourites' },
]}
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
slides
|
{ image, title?, subtitle?, onPress? }[] | [] | Slides to render. A tap (no drag) fires onPress. |
autoLoop
|
boolean | false | Auto-advance and wrap around. |
height
|
number \ | string | |
highlightColor
|
string | — | Active pagination dot color. |
paddingX
|
number | 16 | Horizontal inset around the active slide. |