Skip to main content

Overview

CometChatStickerBubble renders a sticker. It is self-extracting: pass the SDK custom message and the bubble extracts the sticker image URL and name from its metadata, so it works standalone.
Requires the Stickers extension enabled in the CometChat Dashboard. Sticker messages (extension_sticker) are only produced once the Stickers extension is turned on and sticker sets are configured for your app. Without it the composer’s sticker keyboard is unavailable and this bubble never renders. See the Stickers guide to enable it, and the Plugins overview for how the UI Kit auto-routes sticker messages to this bubble.
Live Preview — interact with the sticker bubble.Open in Storybook ↗

Usage


Props

message

The sticker custom message. The bubble extracts the image URL and name from its metadata. Required.

alignment

Override incoming/outgoing alignment. Defaults to sender-vs-logged-in-user.

className

Additional CSS class applied to the root element.

CSS Selectors


Next Steps

Stickers Plugin

Plugin behavior, keyboard, and conversation preview

Enable Stickers (Dashboard)

Turn on the Stickers extension that produces these messages

Poll Bubble

Render poll messages

Message Bubble

The wrapper that hosts bubble content

Theming

Customize colors, fonts, and spacing