IAvatarGroupProps

interface
Component Props

Full props contract for <OrigamAvatarGroup> — stacked / inline row of avatars with overflow management, expand-on-hover/click, and the full design surface (color, border, elevation, spacing, density, size, rounded).

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

items
Array<IAvatarProps>
Array of avatar descriptor objects. Each item accepts the full IAvatarProps surface.
max
number
Maximum number of avatars to display before showing a +N overflow indicator.
expandOnHover
boolean
Spread the avatar stack when the group is hovered.
expandOnClick
boolean
Spread the avatar stack when the group is clicked.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Avatar group with max and expand-on-hover

vue