Avatar Group
An animated avatar group that displays overlapping user images and smoothly shifts each avatar forward on hover to highlight it.
Made by imskyleenInstallation
Usage
API Reference
AvatarGroup
Prop | Type | Default |
---|---|---|
children | React.ReactElement[] | - |
invertOverlap? | boolean | false |
translate? | string | number | -30% |
transition? | Transition | { type: "spring", stiffness: 300, damping: 17 } |
tooltipTransition? | Transition | { type: "spring", stiffness: 300, damping: 35 } |
openDelay? | number | 0 |
closeDelay? | number | 0 |
side? | "top" | "bottom" | "left" | "right" | top |
sideOffset? | number | 25 |
align? | "start" | "center" | "end" | center |
alignOffset? | number | 0 |
...props? | React.ComponentProps<"div"> | - |
AvatarGroupTooltip
Animate UI API Reference - TooltipContentAvatarGroupTooltipArrow
Animate UI API Reference - TooltipArrowCredits
- Credits to Jhey for the inspiration.