AspectRatioPortrait() — ui Function Reference
Architecture documentation for the AspectRatioPortrait() function in aspect-ratio-portrait.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 97172430_9c75_f65e_72f0_5c90aecbf7bc["AspectRatioPortrait()"] 0f0812c8_bddd_3cce_255c_89637ee1fa8d["aspect-ratio-portrait.tsx"] 97172430_9c75_f65e_72f0_5c90aecbf7bc -->|defined in| 0f0812c8_bddd_3cce_255c_89637ee1fa8d style 97172430_9c75_f65e_72f0_5c90aecbf7bc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/aspect-ratio-portrait.tsx lines 4–17
export function AspectRatioPortrait() {
return (
<div className="w-full max-w-[10rem]">
<AspectRatio ratio={9 / 16} className="bg-muted rounded-lg">
<Image
src="https://avatar.vercel.sh/shadcn1"
alt="Photo"
fill
className="rounded-lg object-cover grayscale dark:brightness-20"
/>
</AspectRatio>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AspectRatioPortrait() do?
AspectRatioPortrait() is a function in the ui codebase, defined in apps/v4/examples/radix/aspect-ratio-portrait.tsx.
Where is AspectRatioPortrait() defined?
AspectRatioPortrait() is defined in apps/v4/examples/radix/aspect-ratio-portrait.tsx at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free