ReactionListClustered

ReactionListClustered renders reactions in a compact clustered style. It can be used as a custom implementation for reaction list rendering in MessageList.

Best Practices

  • Use clustered mode when horizontal space is limited.
  • Keep supportedReactions aligned with your channel configuration.
  • Avoid heavy logic inside press handlers to keep list interactions smooth.
  • Use accessibilityLabel for improved screen-reader support.
  • Keep container styling minimal to preserve default hit targets.

Props

PropDescriptionType
hasReactionsTrue if the message has at least one reaction.boolean
onPressDefault press handler for message UI.function
onPressInDefault pressIn handler for message UI.function
preventPressDisables press interactions on reaction items.boolean
reactionsReactions summary list for the message.array
showReactionsOverlayOpens reactions overlay.(reactionType?: string) => void
supportedReactionsList of reactions users can add to messages. See customizing reactions. Defaults to reactionData.array
containerStyleCustom style for the clustered content container.StyleProp<ViewStyle>
accessibilityLabelAccessibility label for the clustered reaction list container.string