Avatar Stack
fun AvatarStack(commenters: List<RecentCommenter>, hasMore: Boolean = false, onCommenterClick: (RecentCommenter) -> Unit? = null, modifier: Modifier = Modifier)(source)
Renders an overlapping horizontal avatar stack of up to 3 recent commenters with an overflow indicator.
Useful for displaying social activity and discussion engagement directly on feature request cards.
Example Usage
AvatarStack(
commenters = item.recentCommenters,
hasMore = item.hasMoreCommenters,
onCommenterClick = { commenter ->
commenter.clerkUserId?.let { openProfile(it) }
}
)Content copied to clipboard
Parameters
commenters
List of RecentCommenter objects representing participants.
has More
Whether additional commenters exist beyond the provided list.
on Commenter Click
Optional callback invoked with the clicked RecentCommenter.
modifier
Optional Modifier applied to the row layout.