EmptyAvatarGroup() — ui Function Reference
Architecture documentation for the EmptyAvatarGroup() function in preview.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 31e46f49_62b3_432e_ebb1_3726f5326cd1["EmptyAvatarGroup()"] 7019dfd7_73aa_c7b5_4065_6d3efa35f26a["preview.tsx"] 31e46f49_62b3_432e_ebb1_3726f5326cd1 -->|defined in| 7019dfd7_73aa_c7b5_4065_6d3efa35f26a style 31e46f49_62b3_432e_ebb1_3726f5326cd1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/blocks/preview.tsx lines 856–945
function EmptyAvatarGroup() {
return (
<Example title="Empty">
<Empty className="h-full flex-none border">
<EmptyHeader>
<EmptyMedia>
<AvatarGroup className="grayscale">
<Avatar size="lg">
<AvatarImage
src="https://github.com/shadcn.png"
alt="@shadcn"
/>
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar size="lg">
<AvatarImage
src="https://github.com/maxleiter.png"
alt="@maxleiter"
/>
<AvatarFallback>LR</AvatarFallback>
</Avatar>
<Avatar size="lg">
<AvatarImage
src="https://github.com/evilrabbit.png"
alt="@evilrabbit"
/>
<AvatarFallback>ER</AvatarFallback>
</Avatar>
</AvatarGroup>
</EmptyMedia>
<EmptyTitle>No Team Members</EmptyTitle>
<EmptyDescription>
Invite your team to collaborate on this project.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<div className="flex gap-2">
<AlertDialog>
<AlertDialogTrigger asChild>
<Button variant="outline">Show Dialog</Button>
</AlertDialogTrigger>
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
<AlertDialogDescription>
This action cannot be undone. This will permanently delete
your account and remove your data from our servers.
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction>Continue</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>
</AlertDialog>
<AlertDialog>
<AlertDialogTrigger asChild>
<Button>Connect Mouse</Button>
</AlertDialogTrigger>
<AlertDialogContent size="sm">
<AlertDialogHeader>
<AlertDialogMedia>
<IconPlaceholder
lucide="BluetoothIcon"
tabler="IconBluetooth"
hugeicons="BluetoothIcon"
phosphor="BluetoothIcon"
remixicon="RiBluetoothLine"
/>
</AlertDialogMedia>
<AlertDialogTitle>
Allow accessory to connect?
</AlertDialogTitle>
<AlertDialogDescription>
Do you want to allow the USB accessory to connect to this
device?
</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Don't allow</AlertDialogCancel>
<AlertDialogAction>Allow</AlertDialogAction>
Domain
Subdomains
Source
Frequently Asked Questions
What does EmptyAvatarGroup() do?
EmptyAvatarGroup() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/blocks/preview.tsx.
Where is EmptyAvatarGroup() defined?
EmptyAvatarGroup() is defined in apps/v4/registry/bases/radix/blocks/preview.tsx at line 856.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free