MA
NO
DE
1
Avatar Group Component
A component for displaying multiple avatars together with an elegant stacked appearance.
- Automatically stacks avatars with a slight overlap
- Provides a count indicator for additional avatars
- Configurable limit for visible avatars
- Works seamlessly with the Avatar component
Installation
The AvatarGroup component is part of our UI library. You can import it directly from the components directory.
React TSX
Usage
Here is how to use the avatar group in your project.
React TSX
React TSX
Examples
Basic Avatar Group
MA
NO
DE
1
Avatar Group with Tooltip
MA
NO
DE
1
API Reference
AvatarGroup
The AvatarGroup component is used to display multiple avatars in a group.
Prop | Type | Default | Description |
---|---|---|---|
limit | number | 3 | The number of avatars to show before truncating |
children | ReactNode | - | Avatar components to display |
className | string | - | Additional CSS class names |