Home / Function/ AvatarDemo() — ui Function Reference

AvatarDemo() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/examples/base/avatar-basic.tsx lines 3–14

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

Subdomains

Frequently Asked Questions

What does AvatarDemo() do?
AvatarDemo() is a function in the ui codebase, defined in apps/v4/examples/base/avatar-basic.tsx.
Where is AvatarDemo() defined?
AvatarDemo() is defined in apps/v4/examples/base/avatar-basic.tsx at line 3.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free