AvatarDemo() — ui Function Reference
Architecture documentation for the AvatarDemo() function in avatar-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5b585395_d62a_2ff0_ec1d_4533c1d16ab9["AvatarDemo()"] eb485bc1_9406_96a8_7a24_baa18f798b43["avatar-demo.tsx"] 5b585395_d62a_2ff0_ec1d_4533c1d16ab9 -->|defined in| eb485bc1_9406_96a8_7a24_baa18f798b43 style 5b585395_d62a_2ff0_ec1d_4533c1d16ab9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/avatar-demo.tsx lines 7–43
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
Source
Frequently Asked Questions
What does AvatarDemo() do?
AvatarDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/avatar-demo.tsx.
Where is AvatarDemo() defined?
AvatarDemo() is defined in apps/v4/registry/new-york-v4/examples/avatar-demo.tsx at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free