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