Home / Type/ CarouselContextProps Type — ui Architecture

CarouselContextProps Type — ui Architecture

Architecture documentation for the CarouselContextProps type/interface in carousel.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  a2c6933e_e237_f8f1_d9b1_adcf4e46f409["CarouselContextProps"]
  8bc8380a_deff_8ce1_5278_60cc3b26d9d7["carousel.tsx"]
  a2c6933e_e237_f8f1_d9b1_adcf4e46f409 -->|defined in| 8bc8380a_deff_8ce1_5278_60cc3b26d9d7
  style a2c6933e_e237_f8f1_d9b1_adcf4e46f409 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/carousel.tsx lines 24–31

type CarouselContextProps = {
  carouselRef: ReturnType<typeof useEmblaCarousel>[0]
  api: ReturnType<typeof useEmblaCarousel>[1]
  scrollPrev: () => void
  scrollNext: () => void
  canScrollPrev: boolean
  canScrollNext: boolean
} & CarouselProps

Frequently Asked Questions

What is the CarouselContextProps type?
CarouselContextProps is a type/interface in the ui codebase, defined in apps/v4/registry/bases/radix/ui/carousel.tsx.
Where is CarouselContextProps defined?
CarouselContextProps is defined in apps/v4/registry/bases/radix/ui/carousel.tsx at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free