Avatar Stack
Avatar Stack arranges supplied avatar children with optional entrance animation.
Practical React example
Summarize the people assigned to a record while preserving their names in accessible text.
Before you copy and paste
Use the composed primitives together under their required provider, where one is present. Copy components/kibo-ui/avatar-stack/index.tsx and its returned support files from the Code tab; preserve the project-relative paths. This example also uses shadcn UI primitives: avatar; install compatible versions or replace them with your existing equivalents.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Summarize the people assigned to a record while preserving their names in accessible text
// Usage adapted from Kibo UI's pinned MIT source.
// Copyright (c) 2023 — Present shadcnblocks. See ./LICENSES.md.
"use client";
import { AvatarStack } from "@/components/kibo-ui/avatar-stack";
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
const Example = () => (
<AvatarStack>
<Avatar>
<AvatarImage src="https://github.com/haydenbleasel.png" />
<AvatarFallback>HB</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage src="https://github.com/shadcn.png" />
<AvatarFallback>CN</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage src="https://github.com/leerob.png" />
<AvatarFallback>LR</AvatarFallback>
</Avatar>
<Avatar>
<AvatarImage src="https://github.com/serafimcloud.png" />
<AvatarFallback>SC</AvatarFallback>
</Avatar>
</AvatarStack>
);
export default Example;
Usage example adapted from Kibo UI's pinned MIT source. Retain the source licence notices when copying.
Keep the person list in your application and provide useful fallback text for missing images. Treat size as a layout choice, not as a change to the underlying participant data.
Customization
- AvatarStackProps.children
- Required; ReactNode.
- AvatarStackProps.className
- Optional; string.
- AvatarStackProps.animate
- Optional; boolean.
- AvatarStackProps.size
- Optional; number.
Integration notes
- Avatar images can be personal data; send only the participants the viewer is allowed to see.
- Make the same group information available without recognising individual faces.
Component source: Kibo 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.