--- import Avatar from './Avatar.astro'; import type { UserPublic } from '../lib/db'; interface Props { users: UserPublic[]; max?: number; size?: number; /** Border color between overlapping avatars — defaults to --surface for cream surfaces. */ borderColor?: string; } const { users, max = 5, size = 22, borderColor = 'var(--surface)' } = Astro.props; const shown = users.slice(0, max); const overflow = Math.max(0, users.length - shown.length); ---