AvatarFallback() — ui Function Reference
Architecture documentation for the AvatarFallback() function in avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 625f8596_0e4b_5456_206f_f74447b8c4ed["AvatarFallback()"] 55d8e2d3_fb66_3ef4_a94f_bc4bfdea954b["avatar.tsx"] 625f8596_0e4b_5456_206f_f74447b8c4ed -->|defined in| 55d8e2d3_fb66_3ef4_a94f_bc4bfdea954b style 625f8596_0e4b_5456_206f_f74447b8c4ed fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/avatar.tsx lines 40–54
function AvatarFallback({
className,
...props
}: AvatarPrimitive.Fallback.Props) {
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/examples/base/ui-rtl/avatar.tsx.
Where is AvatarFallback() defined?
AvatarFallback() is defined in apps/v4/examples/base/ui-rtl/avatar.tsx at line 40.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free