Avatar Circles
Avatar Circles displays supplied avatar images and an optional remaining-person count.
Practical React example
Summarize a small group of people with a readable count and an alternative to the overlapping images.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/avatar-circles.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Summarize a small group of people with a readable count and an alternative to the overlapping images
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { AvatarCircles } from "@/components/magicui/avatar-circles"
export function ComponentExample() {
return (
<AvatarCircles
numPeople={99}
avatarUrls={[
{
imageUrl: "https://avatars.githubusercontent.com/u/16860528",
profileUrl: "https://github.com/dillionverma",
},
]}
/>
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Provide image data with meaningful destinations where applicable and keep numPeople consistent with the group your application is summarizing.
Customization
- AvatarCirclesProps.className
- Optional; string.
- AvatarCirclesProps.numPeople
- Optional; number.
- AvatarCirclesProps.avatarUrls
- Required; Avatar[].
Integration notes
- The visual count must come from authorized data rather than a marketing placeholder presented as real usage.
- Check failed images and provide a textual group description that does not depend on recognising faces.
Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.