CarouselDemo() — ui Function Reference
Architecture documentation for the CarouselDemo() function in carousel-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 869173ea_23e8_2616_2a18_fee5f4b18526["CarouselDemo()"] 8cd24b9a_57ec_de3e_951d_2b5d42f2cb9e["carousel-demo.tsx"] 869173ea_23e8_2616_2a18_fee5f4b18526 -->|defined in| 8cd24b9a_57ec_de3e_951d_2b5d42f2cb9e style 869173ea_23e8_2616_2a18_fee5f4b18526 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/examples/carousel-demo.tsx lines 12–32
export default function CarouselDemo() {
return (
<Carousel className="w-full max-w-xs">
<CarouselContent>
{Array.from({ length: 5 }).map((_, index) => (
<CarouselItem key={index}>
<div className="p-1">
<Card>
<CardContent className="flex aspect-square items-center justify-center p-6">
<span className="text-4xl font-semibold">{index + 1}</span>
</CardContent>
</Card>
</div>
</CarouselItem>
))}
</CarouselContent>
<CarouselPrevious />
<CarouselNext />
</Carousel>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CarouselDemo() do?
CarouselDemo() is a function in the ui codebase, defined in deprecated/www/registry/new-york/examples/carousel-demo.tsx.
Where is CarouselDemo() defined?
CarouselDemo() is defined in deprecated/www/registry/new-york/examples/carousel-demo.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free