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