Home / Function/ Avatar() — ui Function Reference

Avatar() — ui Function Reference

Architecture documentation for the Avatar() function in avatar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  c1a39098_334d_dae8_a869_6c28964213b8["Avatar()"]
  48a81f25_8ba4_10f5_5cfb_9b75448b40c8["avatar.tsx"]
  c1a39098_334d_dae8_a869_6c28964213b8 -->|defined in| 48a81f25_8ba4_10f5_5cfb_9b75448b40c8
  style c1a39098_334d_dae8_a869_6c28964213b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/avatar.tsx lines 11–20

>(({ className, ...props }, ref) => (
  <AvatarPrimitive.Root
    ref={ref}
    className={cn(
      "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
      className
    )}
    {...props}
  />
))

Subdomains

Frequently Asked Questions

What does Avatar() do?
Avatar() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/avatar.tsx.
Where is Avatar() defined?
Avatar() is defined in deprecated/www/registry/new-york/ui/avatar.tsx at line 11.

Analyze Your Own Codebase

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

Try Supermodel Free