Home / Function/ AvatarImage() — ui Function Reference

AvatarImage() — ui Function Reference

Architecture documentation for the AvatarImage() function in avatar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  8df53154_ee93_43f4_eb26_aec6fe4f8edb["AvatarImage()"]
  435f1c1f_968d_8b53_779a_3ad1a367863e["avatar.tsx"]
  8df53154_ee93_43f4_eb26_aec6fe4f8edb -->|defined in| 435f1c1f_968d_8b53_779a_3ad1a367863e
  style 8df53154_ee93_43f4_eb26_aec6fe4f8edb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/avatar.tsx lines 28–39

function AvatarImage({
  className,
  ...props
}: React.ComponentProps<typeof AvatarPrimitive.Image>) {
  return (
    <AvatarPrimitive.Image
      data-slot="avatar-image"
      className={cn("aspect-square size-full", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does AvatarImage() do?
AvatarImage() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/avatar.tsx.
Where is AvatarImage() defined?
AvatarImage() is defined in apps/v4/registry/new-york-v4/ui/avatar.tsx at line 28.

Analyze Your Own Codebase

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

Try Supermodel Free