This is beta documentation for Stream Chat React SDK v14. For the latest stable version, see the latest version (v13) .

Emoji Picker

The SDK includes an EmojiPicker built on emoji-mart. It’s disabled by default. To enable it, install the emoji-mart packages, import EmojiPicker from stream-chat-react/emojis, and pass it to Channel. See the Basic Usage section.

Default Emoji Picker

Best Practices

  • Enable the picker only when emoji usage is a core part of your UX.
  • Keep popper options aligned with your app’s z-index and overflow rules.
  • Set closeOnEmojiSelect based on input density and user flow.
  • Avoid heavy picker props that slow input responsiveness.
  • Ensure emoji fonts render consistently across platforms.

Props

PropDescriptionType
buttonClassNameClass name for the open/close button. Defaults to str-chat__emoji-picker-button.string
ButtonIconComponentIcon component rendered inside the open/close button. Defaults to EmojiPickerIcon.React.ComponentType
closeOnEmojiSelectWhether the picker closes after selecting an emoji. Defaults to false.boolean
pickerContainerClassNameClass name for the picker container. Defaults to str-chat__message-textarea-emoji-picker-container.string
pickerPropsUntyped properties forwarded to the emoji-mart Picker.Partial<{ theme: 'auto' | 'light' | 'dark' } & Record<string, unknown>>
popperOptionsReact Popper options forwarded to the react-popper usePopper hook.Partial<Options>
wrapperClassNameClass name for the wrapper element. Defaults to str-chat__message-textarea-emoji-picker.string