AvatarFallback() — ui Function Reference
Architecture documentation for the AvatarFallback() function in avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 250fe156_a43e_a761_3f73_4639047f623c["AvatarFallback()"] a775b950_bc86_9b62_d013_95e438ad8899["avatar.tsx"] 250fe156_a43e_a761_3f73_4639047f623c -->|defined in| a775b950_bc86_9b62_d013_95e438ad8899 style 250fe156_a43e_a761_3f73_4639047f623c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/avatar.tsx lines 44–58
function AvatarFallback({
className,
...props
}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {
return (
<AvatarPrimitive.Fallback
data-slot="avatar-fallback"
className={cn(
"cn-avatar-fallback flex size-full items-center justify-center 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/bases/radix/ui/avatar.tsx.
Where is AvatarFallback() defined?
AvatarFallback() is defined in apps/v4/registry/bases/radix/ui/avatar.tsx at line 44.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free