AspectRatio9x16() — ui Function Reference
Architecture documentation for the AspectRatio9x16() function in aspect-ratio-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5b287c6c_4fbe_fb75_11e7_3b1ca9625f35["AspectRatio9x16()"] a02d47fa_15b7_b0ad_0c7c_452840e5d50b["aspect-ratio-example.tsx"] 5b287c6c_4fbe_fb75_11e7_3b1ca9625f35 -->|defined in| a02d47fa_15b7_b0ad_0c7c_452840e5d50b style 5b287c6c_4fbe_fb75_11e7_3b1ca9625f35 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx lines 50–63
function AspectRatio9x16() {
return (
<Example title="9:16" className="items-center justify-center">
<AspectRatio ratio={9 / 16} className="bg-muted rounded-lg">
<Image
src="https://avatar.vercel.sh/shadcn1"
alt="Photo"
fill
className="h-full w-full rounded-lg object-cover grayscale dark:brightness-20"
/>
</AspectRatio>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AspectRatio9x16() do?
AspectRatio9x16() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx.
Where is AspectRatio9x16() defined?
AspectRatio9x16() is defined in apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx at line 50.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free