> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-message-composer-compact-message-composer.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Call

> Overview of CometChat's audio and video calling features including incoming calls, outgoing calls, and call logs — with the UI Kit components that power each feature.

<Accordion title="AI Integration Quick Reference">
  | Field            | Value                                                                                                                                                                                                                                                                           |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Packages         | `@cometchat/chat-uikit-react` + `@cometchat/calls-sdk-javascript` (`npm install @cometchat/calls-sdk-javascript`)                                                                                                                                                               |
  | Required setup   | `CometChatUIKit.init(UIKitSettings)` then `CometChatUIKit.login("UID")` — Calls SDK must also be installed                                                                                                                                                                      |
  | Call features    | Incoming Call, Outgoing Call, Call Logs, Call Buttons                                                                                                                                                                                                                           |
  | Key components   | `CometChatCallButtons` → [Call Buttons](/ui-kit/react/call-buttons), `CometChatIncomingCall` → [Incoming Call](/ui-kit/react/incoming-call), `CometChatOutgoingCall` → [Outgoing Call](/ui-kit/react/outgoing-call), `CometChatCallLogs` → [Call Logs](/ui-kit/react/call-logs) |
  | Auto-detection   | UI Kit automatically detects the Calls SDK and enables call UI components                                                                                                                                                                                                       |
  | CSS class prefix | `.cometchat-`                                                                                                                                                                                                                                                                   |
</Accordion>

## Overview

CometChat Calls integrates 1:1 and group audio/video calling into the React UI Kit. Install the Calls SDK and the UI Kit auto-detects it, enabling call components.

<Note>
  Ensure `CometChatUIKit.init(UIKitSettings)` has completed and the user is logged in via `CometChatUIKit.login("UID")`. See [React.js Integration](/ui-kit/react/react-js-integration).
</Note>

## Integration

Install the Calls SDK:

```bash lines theme={null}
npm install @cometchat/calls-sdk-javascript
```

The React UI Kit auto-detects the SDK and activates calling features. [CallButtons](/ui-kit/react/call-buttons) renders in [MessageHeader](/ui-kit/react/message-header).

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-message-composer-compact-message-composer/2vEZdxXXZ7zbCBEi/images/cf123e9d-calling_call_buttons_web_screens-a0a134d7d742a761689aaebe2d6e71c2.png?fit=max&auto=format&n=2vEZdxXXZ7zbCBEi&q=85&s=4adaa0d3d7488dcb5186c3bbe4583c61" width="1282" height="802" data-path="images/cf123e9d-calling_call_buttons_web_screens-a0a134d7d742a761689aaebe2d6e71c2.png" />
</Frame>

## Features

### Incoming Call

The [Incoming Call](/ui-kit/react/incoming-call) component displays a call screen when a call is received, showing caller info with accept/reject options.

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-message-composer-compact-message-composer/ZKn0sImqdUnuhpPE/images/816facad-calling_incoming_call_web_screens-b969721c9da4153958fb08c3b7d7ec3c.png?fit=max&auto=format&n=ZKn0sImqdUnuhpPE&q=85&s=a3ae1308ef837e36283af59579fef12c" width="1282" height="802" data-path="images/816facad-calling_incoming_call_web_screens-b969721c9da4153958fb08c3b7d7ec3c.png" />
</Frame>

### Outgoing Call

The [Outgoing Call](/ui-kit/react/outgoing-call) component displays an outgoing call screen with recipient info and call status. Transitions to the ongoing call screen when the receiver accepts.

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-message-composer-compact-message-composer/YGhZigPlV2gg27gX/images/444a971e-calling_outgoing_call_web_screens-ace6b41a91fe1a23b9e1aaf99e51793e.png?fit=max&auto=format&n=YGhZigPlV2gg27gX&q=85&s=c961e05e5e2b60c18feb551b3eeefe40" width="1282" height="802" data-path="images/444a971e-calling_outgoing_call_web_screens-ace6b41a91fe1a23b9e1aaf99e51793e.png" />
</Frame>

### Call Logs

The [Call Logs](/ui-kit/react/call-logs) component displays call history — caller, time, and duration.

<Frame>
  <img src="https://mintcdn.com/cometchat-22654f5b-message-composer-compact-message-composer/GOjV_KZkvsqJJFnk/images/68a2bfe8-calling_call_log_web_screens-e16bee4ca9212ac07ca2d21b8a5374bc.png?fit=max&auto=format&n=GOjV_KZkvsqJJFnk&q=85&s=3d39c48f61347e6d3e5fa9d503d739e3" width="1282" height="802" data-path="images/68a2bfe8-calling_call_log_web_screens-e16bee4ca9212ac07ca2d21b8a5374bc.png" />
</Frame>

## Next Steps

<CardGroup cols={2}>
  <Card title="Call Buttons" icon="phone-flip" href="/ui-kit/react/call-buttons">
    Audio and video call buttons
  </Card>

  <Card title="Incoming Call" icon="phone-arrow-down-left" href="/ui-kit/react/incoming-call">
    Incoming call notifications and UI
  </Card>

  <Card title="Call Logs" icon="clock-rotate-left" href="/ui-kit/react/call-logs">
    Call history and details
  </Card>

  <Card title="Core Features" icon="comments" href="/ui-kit/react/core-features">
    Core chat features
  </Card>
</CardGroup>
