AvatarImage() — ui Function Reference
Architecture documentation for the AvatarImage() function in avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 9955ac7b_45f7_b181_c465_e2b5143bb754["AvatarImage()"] a775b950_bc86_9b62_d013_95e438ad8899["avatar.tsx"] 9955ac7b_45f7_b181_c465_e2b5143bb754 -->|defined in| a775b950_bc86_9b62_d013_95e438ad8899 style 9955ac7b_45f7_b181_c465_e2b5143bb754 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/avatar.tsx lines 28–42
function AvatarImage({
className,
...props
}: React.ComponentProps<typeof AvatarPrimitive.Image>) {
return (
<AvatarPrimitive.Image
data-slot="avatar-image"
className={cn(
"cn-avatar-image aspect-square size-full object-cover",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AvatarImage() do?
AvatarImage() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/avatar.tsx.
Where is AvatarImage() defined?
AvatarImage() is defined in apps/v4/registry/bases/radix/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