CarouselItem

A single slide inside a `Carousel`. Its width is driven by the carousel's scroll position; it simply projects its children.

Props

React props
NameTypeRequiredDefaultDescription
classNamestring | ClassNameComponent<CarouselItemInterface>NoClasses or state-aware element classes applied through the shared style contract.
outputRange[number, number]NoMin/max item width in px, provided by the parent `Carousel`.