logo-icon
STW UI

AvatarGroup

Avatars are used to show a thumbnail representation of an individual or business in the interface.

Usage

svelte
import { AvatarGroup } from 'stwui';
// OR
import AvatarGroup from 'stwui/avatar-group'; // for tree shaking

Sizes

Shapes

With Indicator

Initials

ND ND ND ND

AvatarGroup Props

shape 'circle' | 'rounded' | 'square' circle
size 'xs' | 'sm' | 'md' | 'lg' | 'xl' md
placeholder boolean true

AvatarGroup Slots

default <AvatarGroup.Avatar />

AvatarGroup.Avatar Props

src string
alt string avatar
initials string

AvatarGroup.Avatar Slots

placeholder <Avatar.Placeholder slot="placeholder" />
indicator <Avatar.Indicator slot="indicator" />

AvatarGroup.Avatar.Placeholder Slots

icon

AvatarGroup.Avatar.Indicator Props

placement 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left' top-right

AvatarGroup Class Identifiers

stwui-avatar-group
stwui-avatar-group-avatar
stwui-avatar-group-avatar-container
stwui-avatar-group-avatar-indicator
stwui-avatar-group-avatar-placeholder
stwui-avatar-group-avatar-placeholder-icon