Home / Function/ AspectRatio16x9() — ui Function Reference

AspectRatio16x9() — ui Function Reference

Architecture documentation for the AspectRatio16x9() function in aspect-ratio-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  b6564654_2f7b_3c3a_de74_a5b12a0e8dbb["AspectRatio16x9()"]
  bdf7ae01_98e7_2f6a_52d5_35d9d1f7eaba["aspect-ratio-example.tsx"]
  b6564654_2f7b_3c3a_de74_a5b12a0e8dbb -->|defined in| bdf7ae01_98e7_2f6a_52d5_35d9d1f7eaba
  style b6564654_2f7b_3c3a_de74_a5b12a0e8dbb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/aspect-ratio-example.tsx lines 20–33

function AspectRatio16x9() {
  return (
    <Example title="16:9" className="items-center justify-center">
      <AspectRatio ratio={16 / 9} 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>
  )
}

Subdomains

Frequently Asked Questions

What does AspectRatio16x9() do?
AspectRatio16x9() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/aspect-ratio-example.tsx.
Where is AspectRatio16x9() defined?
AspectRatio16x9() is defined in apps/v4/registry/bases/radix/examples/aspect-ratio-example.tsx at line 20.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free