aspect-ratio-portrait.tsx — ui Source File
Architecture documentation for aspect-ratio-portrait.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 3ec7e94d_7440_c345_87e1_6a5bcbc8d8c2["aspect-ratio-portrait.tsx"] 3eb36dd7_f51a_1431_02e2_7abafe315718["image"] 3ec7e94d_7440_c345_87e1_6a5bcbc8d8c2 --> 3eb36dd7_f51a_1431_02e2_7abafe315718 a9ff2ff9_62c2_5125_694a_930c5b85501c["aspect-ratio"] 3ec7e94d_7440_c345_87e1_6a5bcbc8d8c2 --> a9ff2ff9_62c2_5125_694a_930c5b85501c style 3ec7e94d_7440_c345_87e1_6a5bcbc8d8c2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Image from "next/image"
import { AspectRatio } from "@/examples/base/ui/aspect-ratio"
export function AspectRatioPortrait() {
return (
<AspectRatio
ratio={9 / 16}
className="bg-muted w-full max-w-[10rem] rounded-lg"
>
<Image
src="https://avatar.vercel.sh/shadcn1"
alt="Photo"
fill
className="rounded-lg object-cover grayscale dark:brightness-20"
/>
</AspectRatio>
)
}
Domain
Subdomains
Functions
Dependencies
- aspect-ratio
- image
Source
Frequently Asked Questions
What does aspect-ratio-portrait.tsx do?
aspect-ratio-portrait.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in aspect-ratio-portrait.tsx?
aspect-ratio-portrait.tsx defines 1 function(s): AspectRatioPortrait.
What does aspect-ratio-portrait.tsx depend on?
aspect-ratio-portrait.tsx imports 2 module(s): aspect-ratio, image.
Where is aspect-ratio-portrait.tsx in the architecture?
aspect-ratio-portrait.tsx is located at apps/v4/examples/base/aspect-ratio-portrait.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free