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
  a8900935_9678_1b30_2d14_5489a26b0fc1["AvatarDemo()"]
  131d9985_2907_3cf4_bb28_95479b167f21["avatar-basic.tsx"]
  a8900935_9678_1b30_2d14_5489a26b0fc1 -->|defined in| 131d9985_2907_3cf4_bb28_95479b167f21
  style a8900935_9678_1b30_2d14_5489a26b0fc1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/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/radix/avatar-basic.tsx.
Where is AvatarDemo() defined?
AvatarDemo() is defined in apps/v4/examples/radix/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