Skip to main content

Function: ImageCarousel()

ImageCarousel<T>(props): Element

Defined in: lib/layout/ImageCarousel.tsx:22

A carousel component for displaying a series of images with navigation dots. Supports parallax scrolling effect and customizable dimensions.

Type Parameters

T

T extends ImageURISource

The type of the image source

Parameters

props

The component props

height

number

Height of the carousel

images

T[]

Array of image sources to display

width?

number = carouselWidth

Width of the carousel, defaults to screen width

withDots?

boolean = true

Whether to show navigation dots

Returns

Element

A carousel component with optional navigation dots