AvatarWithBadge() — ui Function Reference
Architecture documentation for the AvatarWithBadge() function in avatar-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 018fd5cb_52a5_1bea_967e_fe66b3454e48["AvatarWithBadge()"] da628c9f_c737_5cef_6f42_0c35975bff72["avatar-example.tsx"] 018fd5cb_52a5_1bea_967e_fe66b3454e48 -->|defined in| da628c9f_c737_5cef_6f42_0c35975bff72 style 018fd5cb_52a5_1bea_967e_fe66b3454e48 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/avatar-example.tsx lines 70–115
function AvatarWithBadge() {
return (
<Example title="Badge">
<div className="flex flex-wrap items-center gap-2">
<Avatar size="sm">
<AvatarImage
src="https://github.com/jorgezreik.png"
alt="@jorgezreik"
/>
<AvatarFallback>JZ</AvatarFallback>
<AvatarBadge />
</Avatar>
<Avatar>
<AvatarImage
src="https://github.com/jorgezreik.png"
alt="@jorgezreik"
/>
<AvatarFallback>JZ</AvatarFallback>
<AvatarBadge />
</Avatar>
<Avatar size="lg">
<AvatarImage
src="https://github.com/jorgezreik.png"
alt="@jorgezreik"
/>
<AvatarFallback>JZ</AvatarFallback>
<AvatarBadge />
</Avatar>
</div>
<div className="flex flex-wrap items-center gap-2">
<Avatar size="sm">
<AvatarFallback>JZ</AvatarFallback>
<AvatarBadge />
</Avatar>
<Avatar>
<AvatarFallback>JZ</AvatarFallback>
<AvatarBadge />
</Avatar>
<Avatar size="lg">
<AvatarFallback>JZ</AvatarFallback>
<AvatarBadge />
</Avatar>
</div>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AvatarWithBadge() do?
AvatarWithBadge() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/avatar-example.tsx.
Where is AvatarWithBadge() defined?
AvatarWithBadge() is defined in apps/v4/registry/bases/base/examples/avatar-example.tsx at line 70.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free