AvatarWithBadgeIcon() — ui Function Reference
Architecture documentation for the AvatarWithBadgeIcon() function in avatar-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD cb7c666c_bb0e_e1a1_7ec0_f34e778a9b84["AvatarWithBadgeIcon()"] da628c9f_c737_5cef_6f42_0c35975bff72["avatar-example.tsx"] cb7c666c_bb0e_e1a1_7ec0_f34e778a9b84 -->|defined in| da628c9f_c737_5cef_6f42_0c35975bff72 style cb7c666c_bb0e_e1a1_7ec0_f34e778a9b84 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/avatar-example.tsx lines 117–210
function AvatarWithBadgeIcon() {
return (
<Example title="Badge with Icon">
<div className="flex flex-wrap items-center gap-2">
<Avatar size="sm">
<AvatarImage
src="https://github.com/pranathip.png"
alt="@pranathip"
/>
<AvatarFallback>PP</AvatarFallback>
<AvatarBadge>
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
/>
</AvatarBadge>
</Avatar>
<Avatar>
<AvatarImage
src="https://github.com/pranathip.png"
alt="@pranathip"
/>
<AvatarFallback>PP</AvatarFallback>
<AvatarBadge>
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
/>
</AvatarBadge>
</Avatar>
<Avatar size="lg">
<AvatarImage
src="https://github.com/pranathip.png"
alt="@pranathip"
/>
<AvatarFallback>PP</AvatarFallback>
<AvatarBadge>
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
/>
</AvatarBadge>
</Avatar>
</div>
<div className="flex flex-wrap items-center gap-2">
<Avatar size="sm">
<AvatarFallback>PP</AvatarFallback>
<AvatarBadge>
<IconPlaceholder
lucide="CheckIcon"
tabler="IconCheck"
hugeicons="Tick02Icon"
phosphor="CheckIcon"
remixicon="RiCheckLine"
/>
</AvatarBadge>
</Avatar>
<Avatar>
<AvatarFallback>PP</AvatarFallback>
<AvatarBadge>
<IconPlaceholder
lucide="CheckIcon"
tabler="IconCheck"
hugeicons="Tick02Icon"
phosphor="CheckIcon"
remixicon="RiCheckLine"
/>
</AvatarBadge>
</Avatar>
<Avatar size="lg">
<AvatarFallback>PP</AvatarFallback>
<AvatarBadge>
Domain
Subdomains
Source
Frequently Asked Questions
What does AvatarWithBadgeIcon() do?
AvatarWithBadgeIcon() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/avatar-example.tsx.
Where is AvatarWithBadgeIcon() defined?
AvatarWithBadgeIcon() is defined in apps/v4/registry/bases/base/examples/avatar-example.tsx at line 117.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free