Infinite Loop

Seamless infinite scrolling carousel.

carouselinfiniteloopscroll

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][url1, url2, ...]Array of image URLs to display in the carousel.
backgroundColor
stringtransparentBackground color of the component (hex, rgb, or hsl).
imageBgColor
string#e4e4e7Background color of image containers (hex, rgb, or hsl).
imageBorderRadius
string0.5remBorder radius of carousel images (CSS value).
imageOpacity
number0.8Opacity of carousel images (0-1).
imageGap
string0.5remGap between carousel images (CSS value).
imageHeight
string6remHeight of carousel images (CSS value).
imageWidth
string8remWidth of carousel images (CSS value).
animationDuration
number20Duration of the infinite scroll animation in seconds.
maskGradient
stringlinear-gradient(to_right,transparent,black_20%,black_80%,transparent)CSS mask gradient for fade edges.
maxWidth
string32remMaximum width of the carousel container (CSS value).