Skip to main content

Overview

CometChatCallActionBubble renders a centered, pill-shaped call status system message — “Missed Call”, “Call Ended”, “Outgoing Call”, etc. It is self-extracting: pass the SDK call message and the bubble derives the status text, the status icon, and whether to use the error (missed-call) color itself, reading the logged-in user and locale from hooks. This means it works standalone — no plugin required. It is the component the Call Action Plugin forwards to, and it renders through the presentational CometChatActionBubble base primitive.
Live Preview — interact with the call action bubble.Open in Storybook ↗
The component renders nothing while the logged-in user is unavailable.

Usage


What It Derives

The bubble inspects the call’s status and whether it was initiated by the logged-in user to pick the text, icon, and color.

Status Text

Sent by the logged-in user: Received: All text is localized.

Status Icon

Missed calls additionally render in the error (red) color. Icons are rendered via CSS mask-image — override the mask in your own CSS to use custom icons.

Props

message

The call message (audio/video) in the call category. The bubble extracts the status, icon, and text from it. Required.

className

Additional CSS class name applied to the root element.

CSS Selectors

The bubble renders through the CometChatActionBubble primitive, so it uses the action-bubble selectors. Override a specific icon’s mask:

Next Steps

Call Action Plugin

How call status messages are resolved and rendered in the message list

Group Action Bubble

System messages for group membership changes

Message Bubble

The wrapper that hosts bubble content

Theming

Customize colors, fonts, and spacing