Home / File/ aspect-ratio.tsx — ui Source File

aspect-ratio.tsx — ui Source File

Architecture documentation for aspect-ratio.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  58d56626_c64f_070a_d88d_23ce2b361363["aspect-ratio.tsx"]
  9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"]
  58d56626_c64f_070a_d88d_23ce2b361363 --> 9c463da6_747b_38dc_586b_cbb4873070b1
  style 58d56626_c64f_070a_d88d_23ce2b361363 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { AspectRatio as AspectRatioPrimitive } from "radix-ui"

function AspectRatio({
  ...props
}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {
  return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...props} />
}

export { AspectRatio }

Subdomains

Functions

Dependencies

  • radix-ui

Frequently Asked Questions

What does aspect-ratio.tsx do?
aspect-ratio.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in aspect-ratio.tsx?
aspect-ratio.tsx defines 1 function(s): AspectRatio.
What does aspect-ratio.tsx depend on?
aspect-ratio.tsx imports 1 module(s): radix-ui.
Where is aspect-ratio.tsx in the architecture?
aspect-ratio.tsx is located at apps/v4/registry/new-york-v4/ui/aspect-ratio.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/ui).

Analyze Your Own Codebase

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

Try Supermodel Free