AvatarFallback() — ui Function Reference
Architecture documentation for the AvatarFallback() function in avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5f5260df_7f2d_2d6f_987d_8ecdf9cf4264["AvatarFallback()"] 435f1c1f_968d_8b53_779a_3ad1a367863e["avatar.tsx"] 5f5260df_7f2d_2d6f_987d_8ecdf9cf4264 -->|defined in| 435f1c1f_968d_8b53_779a_3ad1a367863e style 5f5260df_7f2d_2d6f_987d_8ecdf9cf4264 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/avatar.tsx lines 41–55
function AvatarFallback({
className,
...props
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {
return (
<AvatarPrimitive.Fallback
data-slot="avatar-fallback"
className={cn(
"bg-muted text-muted-foreground flex size-full items-center justify-center rounded-full text-sm group-data-[size=sm]/avatar:text-xs",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AvatarFallback() do?
AvatarFallback() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/avatar.tsx.
Where is AvatarFallback() defined?
AvatarFallback() is defined in apps/v4/registry/new-york-v4/ui/avatar.tsx at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free