avatar-demo.tsx — ui Source File
Architecture documentation for avatar-demo.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR eb485bc1_9406_96a8_7a24_baa18f798b43["avatar-demo.tsx"] 550576ca_32fe_8288_72d6_10281189833b["avatar"] eb485bc1_9406_96a8_7a24_baa18f798b43 --> 550576ca_32fe_8288_72d6_10281189833b style eb485bc1_9406_96a8_7a24_baa18f798b43 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Avatar,
AvatarFallback,
AvatarImage,
} from "@/registry/new-york-v4/ui/avatar"
export default function AvatarDemo() {
return (
<div className="flex flex-row flex-wrap items-center gap-12">
<Avatar>
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar className="rounded-lg">
<AvatarImage
src="https://github.com/evilrabbit.png"
alt="@evilrabbit"
/>
<AvatarFallback>ER</AvatarFallback>
</Avatar>
<div className="*:data-[slot=avatar]:ring-background flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:grayscale">
<Avatar>
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage
src="https://github.com/maxleiter.png"
alt="@maxleiter"
/>
<AvatarFallback>LR</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage
src="https://github.com/evilrabbit.png"
alt="@evilrabbit"
/>
<AvatarFallback>ER</AvatarFallback>
</Avatar>
</div>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- avatar
Source
Frequently Asked Questions
What does avatar-demo.tsx do?
avatar-demo.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 avatar-demo.tsx?
avatar-demo.tsx defines 1 function(s): AvatarDemo.
What does avatar-demo.tsx depend on?
avatar-demo.tsx imports 1 module(s): avatar.
Where is avatar-demo.tsx in the architecture?
avatar-demo.tsx is located at apps/v4/registry/new-york-v4/examples/avatar-demo.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