Depth Parallax

Carousel with depth parallax scrolling effects.

carouselparallaxdepthscroll

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][url1, url2, ...]Array of image URLs to display in the carousel.
labels
string[][]Optional array of labels for each slide (overrides default 'SLIDE 0X' format).
defaultIndex
number0Initial active slide index.
backgroundColor
stringtransparentBackground color of the component (hex, rgb, or hsl).
containerBgColor
string#000000Background color of the carousel container (hex, rgb, or hsl).
borderRadius
string1remBorder radius of the container (CSS value).
imageOpacity
number0.6Opacity of background images (0-1).
textColor
string#ffffffColor of slide labels (hex, rgb, or hsl).
buttonBgColor
stringrgba(255,255,255,0.2)Background color of navigation buttons (hex, rgb, or hsl).
buttonHoverBgColor
stringrgba(255,255,255,0.4)Background color of buttons on hover (hex, rgb, or hsl).
buttonTextColor
string#ffffffText/icon color of buttons (hex, rgb, or hsl).
buttonBorderRadius
string9999pxBorder radius of buttons (CSS value).
transitionDuration
number0.8Duration of slide transitions in seconds.
height
string16remHeight of the carousel container (CSS value).
maxWidth
string28remMaximum width of the carousel container (CSS value).
Depth Parallax - Uilora Carousels