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
  12c42277_8c60_4e8a_7f3f_e224a5bfe3d3["EmptyAvatarGroup()"]
  2a1f14d0_b106_41ca_1e31_cae70262b99a["empty-avatar-group.tsx"]
  12c42277_8c60_4e8a_7f3f_e224a5bfe3d3 -->|defined in| 2a1f14d0_b106_41ca_1e31_cae70262b99a
  style 12c42277_8c60_4e8a_7f3f_e224a5bfe3d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/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/base/empty-avatar-group.tsx.
Where is EmptyAvatarGroup() defined?
EmptyAvatarGroup() is defined in apps/v4/examples/base/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