SwipeUI

Avatar group

Overlapping members with optional live presence, animated membership, overflow and member inspection.

npx @swipeui/cli add avatar-group
Variant
Preset
Material
Scheme
Feel
Interactive web demo. Native materials, gestures and system presentation differ on device.

When to use it

  • Showing who's in a team, a chat or an event with overlapping avatars.
  • "Going" or "Shared with" rows on cards.
  • Compact lists of collaborators with a +3 overflow count.

When not to use it

  • Live presence that changes often. Use Presence stack.
  • One person. Use Avatar.
  • A full member list. Use List row with Avatar.

Installation

Installs with a Pro licence

Everything on this page is public except the source. Founder pre-sale opens around 5 January 2027.

Usage

app/team.tsx
import { AvatarGroup } from '@/components/swipeui/ui/avatar-group';

<AvatarGroup people={members} />;

API reference

PropTypeDefaultDescription
peoplereadonly AvatarGroupPerson[]—

Live identities in caller-owned order.

size?AvatarSize'md'

Avatar diameter role.

overlap?number8

Overlap in points.

ringClassName?string'border-card'

Surface-matched separation rings.

animateEntrance?booleantrue

Animate newly visible identities.

animateExit?booleantrue

Animate identities leaving.

animateLayout?booleantrue

Animate position changes.

onOverflowPress?(() => void)—

Independent overflow action.

haptics?booleantrue

Overflow feedback.

messages?{ empty?: string; overflow?: (count: number) => string; }—

Built-in text overrides.

maxVisible?number4

Maximum visible identities.

accessibilityLabel?string—

Group summary; defaults to names.

motion?MotionOverride—

Shared entry/reflow character.

className?string—

Root classes.

style?StyleProp<ViewStyle>—

Root layout escape hatch.

testID?string—

Root identifier.

Composition and behavior

  • people each have an id, name and optional photo.
  • maxVisible caps avatars (4); size matches Avatar sizes.

Pro Avatar Group combines member collections and live presence in one item. Omit each person’s status for plain membership. Presence Stack is now an unlisted compatibility name.

Behavior and gestures

  • Static; wrap it in Pressable to open a member list.
  • Shows up to four avatars by default, then a +N count for the rest.

Accessibility

  • Read as one group with everyone's names, or your accessibilityLabel such as "Ana, Ben and 3 others".
  • Individual avatars and the count are hidden to avoid a long, repetitive readout.
  • The overflow count is truthful to the number you pass.

Motion

  • Uses the list and press motion roles, so it follows your app's feel. Pass motion to tune this one instance.
  • Independent entry, exit and layout motion; respects reduced motion.

Performance

  • Renders at most maxVisible avatars.

Notes for AI

  • Give people unique ids and names; pass a short accessibilityLabel for big groups.

Compatibility

Runs onSupported
Expo SDK 57Yes
Expo SDK 58Yes
React Native CLI (with Expo modules)Yes
Expo GoYes
iOSYes
AndroidYes

This table describes API support and static bundle checks. Native runtime, device accessibility and bare Uniwind compatibility remain pending.

Related items