data/@mihcm/ui·v0.21.0·stable
AvatarGroup
Stacked, overlapping row of Avatar components with an overflow "+N" count. The size prop forwards to children. max controls the visible limit.
Live preview
Adjust the controls on the right; the preview and code update in real time.


+2example.tsxtsx
import { AvatarGroup } from '@mihcm/ui/AvatarGroup';
export function Example() {
return (
<AvatarGroup
max="3"
size="md"
overlap="md"
direction="row"
stackOrder="last-on-top"
></AvatarGroup>
);
}Install
Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.
npx @mihcm/cli add AvatarGroupCopies the source into
components/ds/AvatarGroup.tsx. You own the file. Use --out to override the directory or --force to overwrite.