MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / AvatarGroupCount

Function AvatarGroupCount

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

Source from the content-addressed store, hash-verified

84}
85
86function AvatarGroupCount({
87 className,
88 ...props
89}: React.ComponentProps<"div">) {
90 return (
91 <div
92 data-slot="avatar-group-count"
93 className={cn(
94 "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",
95 className
96 )}
97 {...props}
98 />
99 )
100}
101
102export {
103 Avatar,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected