MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / AvatarGroupCount

Function AvatarGroupCount

packages/react/src/components/avatar.tsx:81–92  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

79}
80
81function AvatarGroupCount({ className, ...props }: React.ComponentProps<"div">) {
82 return (
83 <div
84 data-slot="avatar-group-count"
85 className={cn(
86 "relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3",
87 className,
88 )}
89 {...props}
90 />
91 );
92}
93
94export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount };

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected