function createAvatarGroup
createAvatarGroup(
avatars: AvatarProps[],
): HTMLDivElement

Create an avatar group (stacked avatars)

Examples

Example 1

const avatars = [ { name: 'John Doe' }, { name: 'Jane Smith' }, { src: 'https://...', alt: 'Bob' }, ]; const group = createAvatarGroup(avatars, { max: 3 });

Parameters

avatars: AvatarProps[]
optional
options: AvatarGroupProps

Return Type

HTMLDivElement

Usage

import { createAvatarGroup } from ".";