AvatarGroup() — ui Function Reference
Architecture documentation for the AvatarGroup() function in avatar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6e3411dc_db5b_9932_5a94_5e89a33e2a1a["AvatarGroup()"] a569ba89_14b5_b23e_2c1c_20d0ed4dea93["avatar.tsx"] 6e3411dc_db5b_9932_5a94_5e89a33e2a1a -->|defined in| a569ba89_14b5_b23e_2c1c_20d0ed4dea93 style 6e3411dc_db5b_9932_5a94_5e89a33e2a1a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/avatar.tsx lines 73–84
function AvatarGroup({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="avatar-group"
className={cn(
"cn-avatar-group *:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AvatarGroup() do?
AvatarGroup() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/avatar.tsx.
Where is AvatarGroup() defined?
AvatarGroup() is defined in apps/v4/registry/bases/base/ui/avatar.tsx at line 73.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free