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

Relationship Graph

Source Code

apps/v4/app/(app)/examples/rtl/components/empty-avatar-group.tsx lines 37–78

export function EmptyAvatarGroup() {
  const context = useLanguageContext()
  const lang = context?.language === "he" ? "he" : "ar"
  const t = translations[lang]

  return (
    <Empty className="flex-none border py-10" dir={t.dir}>
      <EmptyHeader>
        <EmptyMedia>
          <AvatarGroup className="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>
          </AvatarGroup>
        </EmptyMedia>
        <EmptyTitle>{t.title}</EmptyTitle>
        <EmptyDescription>{t.description}</EmptyDescription>
      </EmptyHeader>
      <EmptyContent>
        <Button size="sm">
          <PlusIcon />
          {t.invite}
        </Button>
      </EmptyContent>
    </Empty>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free