CarouselContent() — ui Function Reference
Architecture documentation for the CarouselContent() function in carousel.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD fed50f19_8771_988d_dce7_8c20624df510["CarouselContent()"] 5561f304_821d_8ffa_5ecc_71dcfb6cdd6c["carousel.tsx"] fed50f19_8771_988d_dce7_8c20624df510 -->|defined in| 5561f304_821d_8ffa_5ecc_71dcfb6cdd6c d1c48f69_7db6_6a59_cbe8_5cc53174caed["useCarousel()"] fed50f19_8771_988d_dce7_8c20624df510 -->|calls| d1c48f69_7db6_6a59_cbe8_5cc53174caed style fed50f19_8771_988d_dce7_8c20624df510 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/ui/carousel.tsx lines 156–172
>(({ className, ...props }, ref) => {
const { carouselRef, orientation } = useCarousel()
return (
<div ref={carouselRef} className="overflow-hidden">
<div
ref={ref}
className={cn(
"flex",
orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
className
)}
{...props}
/>
</div>
)
})
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does CarouselContent() do?
CarouselContent() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/carousel.tsx.
Where is CarouselContent() defined?
CarouselContent() is defined in deprecated/www/registry/new-york/ui/carousel.tsx at line 156.
What does CarouselContent() call?
CarouselContent() calls 1 function(s): useCarousel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free