Home / Function/ AvatarDemo() — ui Function Reference

AvatarDemo() — ui Function Reference

Architecture documentation for the AvatarDemo() function in avatar-demo.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  0554b787_1c71_321e_8ebc_0496d70a69a2["AvatarDemo()"]
  a795effa_f22f_e937_94ea_78be26d57480["avatar-demo.tsx"]
  0554b787_1c71_321e_8ebc_0496d70a69a2 -->|defined in| a795effa_f22f_e937_94ea_78be26d57480
  style 0554b787_1c71_321e_8ebc_0496d70a69a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/examples/avatar-demo.tsx lines 7–14

export default function AvatarDemo() {
  return (
    <Avatar>
      <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
      <AvatarFallback>CN</AvatarFallback>
    </Avatar>
  )
}

Subdomains

Frequently Asked Questions

What does AvatarDemo() do?
AvatarDemo() is a function in the ui codebase, defined in deprecated/www/registry/new-york/examples/avatar-demo.tsx.
Where is AvatarDemo() defined?
AvatarDemo() is defined in deprecated/www/registry/new-york/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