EmptyAvatar() — ui Function Reference
Architecture documentation for the EmptyAvatar() function in empty-avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 43d33d6d_4cc7_5394_2aff_e5eb59b849e7["EmptyAvatar()"] 58e18e05_e4d3_87a0_a7d7_00cdfbe5cb71["empty-avatar.tsx"] 43d33d6d_4cc7_5394_2aff_e5eb59b849e7 -->|defined in| 58e18e05_e4d3_87a0_a7d7_00cdfbe5cb71 style 43d33d6d_4cc7_5394_2aff_e5eb59b849e7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/empty-avatar.tsx lines 12–36
export default function EmptyAvatar() {
return (
<Empty>
<EmptyHeader>
<EmptyMedia variant="default">
<Avatar className="size-12">
<AvatarImage
src="https://github.com/shadcn.png"
className="grayscale"
/>
<AvatarFallback>LR</AvatarFallback>
</Avatar>
</EmptyMedia>
<EmptyTitle>User Offline</EmptyTitle>
<EmptyDescription>
This user is currently offline. You can leave a message to notify them
or try again later.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button size="sm">Leave Message</Button>
</EmptyContent>
</Empty>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does EmptyAvatar() do?
EmptyAvatar() is a function in the ui codebase, defined in apps/v4/examples/base/empty-avatar.tsx.
Where is EmptyAvatar() defined?
EmptyAvatar() is defined in apps/v4/examples/base/empty-avatar.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free