vael-ui v0.3.10

Data Display

AvatarGroup

Install

import { AvatarGroup } from 'vael-ui'

Playground

ALGHKJ
import { AvatarGroup } from 'vael-ui'

<AvatarGroup size="md" :overflowCount="0" :hoverLift="false">AvatarGroup</AvatarGroup>

Props

NameTypeDefaultDescription
size"md" | "sm" | "lg""md"Sizes the generated overflow avatar; slotted `Avatar`s keep their own `size` prop.
overflowCountnumber | undefined0Count of items NOT rendered as slotted `Avatar`s — the caller decides truncation, this only displays the remainder as "+N". 0 (default) renders nothing.
hoverLiftboolean | undefinedfalseLifts an avatar on hover to reveal it above its neighbors. Off by default.
uiPartial<{ root: UiPartValue; overflow: UiPartValue; }> | undefined

Slots

NameTypeDescription
defaultany
overflow{ count: number; }Replaces the default "+N" content of the generated overflow avatar.

Events

No events.

Exposed

NameTypeDescription
elHTMLElement | null