AvatarInEmpty() — ui Function Reference
Architecture documentation for the AvatarInEmpty() function in avatar-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 0d32cbe8_ab26_8800_b55d_4a8b7471fc3e["AvatarInEmpty()"] e48c0099_8183_4696_c376_97e8309d13b2["avatar-example.tsx"] 0d32cbe8_ab26_8800_b55d_4a8b7471fc3e -->|defined in| e48c0099_8183_4696_c376_97e8309d13b2 style 0d32cbe8_ab26_8800_b55d_4a8b7471fc3e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/avatar-example.tsx lines 449–511
function AvatarInEmpty() {
return (
<Example title="In Empty">
<Empty className="w-full flex-none border">
<EmptyHeader>
<EmptyMedia>
<AvatarGroup>
<Avatar size="lg">
<AvatarImage
src="https://github.com/shadcn.png"
alt="@shadcn"
className="grayscale"
/>
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar size="lg">
<AvatarImage
src="https://github.com/maxleiter.png"
alt="@maxleiter"
className="grayscale"
/>
<AvatarFallback>LR</AvatarFallback>
</Avatar>
<Avatar size="lg">
<AvatarImage
src="https://github.com/evilrabbit.png"
alt="@evilrabbit"
className="grayscale"
/>
<AvatarFallback>ER</AvatarFallback>
</Avatar>
<AvatarGroupCount>
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
/>
</AvatarGroupCount>
</AvatarGroup>
</EmptyMedia>
<EmptyTitle>No Team Members</EmptyTitle>
<EmptyDescription>
Invite your team to collaborate on this project.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button>
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
/>
Invite Members
</Button>
</EmptyContent>
</Empty>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AvatarInEmpty() do?
AvatarInEmpty() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/avatar-example.tsx.
Where is AvatarInEmpty() defined?
AvatarInEmpty() is defined in apps/v4/registry/bases/radix/examples/avatar-example.tsx at line 449.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free