empty-avatar.tsx — ui Source File
Architecture documentation for empty-avatar.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 26fb80d6_c3f9_0c35_7c09_6a020576921d["empty-avatar.tsx"] 550576ca_32fe_8288_72d6_10281189833b["avatar"] 26fb80d6_c3f9_0c35_7c09_6a020576921d --> 550576ca_32fe_8288_72d6_10281189833b 57e86e45_ac6e_7278_be08_9092724e8401["button"] 26fb80d6_c3f9_0c35_7c09_6a020576921d --> 57e86e45_ac6e_7278_be08_9092724e8401 347cfa6b_4d3b_aeb9_f88c_873646e39bf0["empty"] 26fb80d6_c3f9_0c35_7c09_6a020576921d --> 347cfa6b_4d3b_aeb9_f88c_873646e39bf0 style 26fb80d6_c3f9_0c35_7c09_6a020576921d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Avatar,
AvatarFallback,
AvatarImage,
} from "@/registry/new-york-v4/ui/avatar"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/registry/new-york-v4/ui/empty"
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
Functions
Dependencies
- avatar
- button
- empty
Source
Frequently Asked Questions
What does empty-avatar.tsx do?
empty-avatar.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in empty-avatar.tsx?
empty-avatar.tsx defines 1 function(s): EmptyAvatar.
What does empty-avatar.tsx depend on?
empty-avatar.tsx imports 3 module(s): avatar, button, empty.
Where is empty-avatar.tsx in the architecture?
empty-avatar.tsx is located at apps/v4/registry/new-york-v4/examples/empty-avatar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free