AspectRatio1x1() — ui Function Reference
Architecture documentation for the AspectRatio1x1() function in aspect-ratio-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 2a2095b9_cd70_0120_3c4b_67d4dda05c94["AspectRatio1x1()"] a02d47fa_15b7_b0ad_0c7c_452840e5d50b["aspect-ratio-example.tsx"] 2a2095b9_cd70_0120_3c4b_67d4dda05c94 -->|defined in| a02d47fa_15b7_b0ad_0c7c_452840e5d50b style 2a2095b9_cd70_0120_3c4b_67d4dda05c94 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx lines 35–48
function AspectRatio1x1() {
return (
<Example title="1:1" className="items-start">
<AspectRatio ratio={1 / 1} 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 AspectRatio1x1() do?
AspectRatio1x1() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx.
Where is AspectRatio1x1() defined?
AspectRatio1x1() is defined in apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free