Home / Function/ EmptyAvatarGroup() — ui Function Reference

EmptyAvatarGroup() — ui Function Reference

Architecture documentation for the EmptyAvatarGroup() function in empty-avatar-group.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  ba1475f6_b7f2_f700_23a3_f2b1f7df8cb5["EmptyAvatarGroup()"]
  a08ca1d7_2a24_8746_a0d1_3e934dc3cebd["empty-avatar-group.tsx"]
  ba1475f6_b7f2_f700_23a3_f2b1f7df8cb5 -->|defined in| a08ca1d7_2a24_8746_a0d1_3e934dc3cebd
  style ba1475f6_b7f2_f700_23a3_f2b1f7df8cb5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/empty-avatar-group.tsx lines 13–52

export default function EmptyAvatarGroup() {
  return (
    <Empty>
      <EmptyHeader>
        <EmptyMedia>
          <div className="*:data-[slot=avatar]:ring-background flex -space-x-2 *:data-[slot=avatar]:size-12 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:grayscale">
            <Avatar>
              <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
              <AvatarFallback>CN</AvatarFallback>
            </Avatar>
            <Avatar>
              <AvatarImage
                src="https://github.com/maxleiter.png"
                alt="@maxleiter"
              />
              <AvatarFallback>LR</AvatarFallback>
            </Avatar>
            <Avatar>
              <AvatarImage
                src="https://github.com/evilrabbit.png"
                alt="@evilrabbit"
              />
              <AvatarFallback>ER</AvatarFallback>
            </Avatar>
          </div>
        </EmptyMedia>
        <EmptyTitle>No Team Members</EmptyTitle>
        <EmptyDescription>
          Invite your team to collaborate on this project.
        </EmptyDescription>
      </EmptyHeader>
      <EmptyContent>
        <Button size="sm">
          <PlusIcon />
          Invite Members
        </Button>
      </EmptyContent>
    </Empty>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyAvatarGroup() do?
EmptyAvatarGroup() is a function in the ui codebase, defined in apps/v4/examples/radix/empty-avatar-group.tsx.
Where is EmptyAvatarGroup() defined?
EmptyAvatarGroup() is defined in apps/v4/examples/radix/empty-avatar-group.tsx at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free