CarouselOrientation() — ui Function Reference
Architecture documentation for the CarouselOrientation() function in carousel-orientation.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 917057ba_e3f8_441e_fbcf_c9bffd99abf2["CarouselOrientation()"] 58b41cdb_05ae_89cb_0043_782ce1d1b551["carousel-orientation.tsx"] 917057ba_e3f8_441e_fbcf_c9bffd99abf2 -->|defined in| 58b41cdb_05ae_89cb_0043_782ce1d1b551 style 917057ba_e3f8_441e_fbcf_c9bffd99abf2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/carousel-orientation.tsx lines 12–38
export default function CarouselOrientation() {
return (
<Carousel
opts={{
align: "start",
}}
orientation="vertical"
className="w-full max-w-xs"
>
<CarouselContent className="-mt-1 h-[200px]">
{Array.from({ length: 5 }).map((_, index) => (
<CarouselItem key={index} className="pt-1 md:basis-1/2">
<div className="p-1">
<Card>
<CardContent className="flex 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 CarouselOrientation() do?
CarouselOrientation() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/carousel-orientation.tsx.
Where is CarouselOrientation() defined?
CarouselOrientation() is defined in apps/v4/registry/new-york-v4/examples/carousel-orientation.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free