Carousel API
API reference for the Carousel components.
Explore these related pages for additional context and usage patterns.
string | undefinedUnique identifier for the carousel
string | undefinedAccessible label for the carousel region
string | undefinedNamespace for dependency injection (must match child namespace)
Default: "v0:carousel"
boolean | undefinedDisables the entire carousel
Default: false
boolean | undefinedWhether navigation wraps around from last to first
Default: false
CarouselOrientation | undefinedCarousel orientation
Default: "horizontal"
number | undefinedNumber of slides visible at once
Default: 1
number | undefinedAutoplay interval in milliseconds. 0 disables autoplay.
Default: 0
ScrollBehavior | undefinedScroll behavior for programmatic navigation
Default: "smooth"
string | undefinedAccessible label for the indicator group
string | undefinedNamespace for connecting to parent Carousel.Root
Default: "v0:carousel"
CarouselIndicatorSlotPropsanyUnique identifier (auto-generated if not provided)
V | undefinedValue associated with this slide
MaybeRefOrGetter<boolean> | undefinedDisables this specific slide
string | undefinedNamespace for dependency injection
Default: "v0:carousel"
string | undefinedNamespace for connecting to parent Carousel.Root
Default: "v0:carousel"
CarouselLiveRegionSlotPropsstring | undefinedNamespace for connecting to parent Carousel.Root
Default: "v0:carousel"
string | undefinedNamespace for connecting to parent Carousel.Root
Default: "v0:carousel"
CarouselPreviousSlotPropsstring | undefinedNamespace for connecting to parent Carousel.Root
Default: "v0:carousel"
CarouselProgressSlotPropsstring | undefinedNamespace for connecting to parent Carousel.Root
Default: "v0:carousel"
CarouselViewportSlotProps