EmptyAvatar() — ui Function Reference
Architecture documentation for the EmptyAvatar() function in empty-avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD ab7c0037_f034_7af2_43bb_6487efbf3f7e["EmptyAvatar()"] f9702545_a4c8_29f8_ca9b_e86fd25cac52["empty-avatar.tsx"] ab7c0037_f034_7af2_43bb_6487efbf3f7e -->|defined in| f9702545_a4c8_29f8_ca9b_e86fd25cac52 style ab7c0037_f034_7af2_43bb_6487efbf3f7e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/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/radix/empty-avatar.tsx.
Where is EmptyAvatar() defined?
EmptyAvatar() is defined in apps/v4/examples/radix/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