> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Status Indicator

> Status Indicator — CometChat documentation.

`CometChatStatusIndicator` is a customised component which indicates whether user is online or offline.

![](https://mintcdn.com/cometchat-22654f5b/HFXOvmhiLRb5ClID/images/917825b6-ltyjb5ctoay86mcws67c02sfyfnsf6ffp68u0oznn0vp6m6f28tlfvdmsmhjxjhe-009bb23d6fec659cca5735a2a1baa79c.png?fit=max\&auto=format\&n=HFXOvmhiLRb5ClID\&q=85\&s=a6d8a7f832c2e48853ed2220ef486949)

## How to integrate CometChatStatusIndicator ?

> [tab] TypeScript
>
> ```tsx theme={null}
> <CometChatStatusIndicator
>         backgroundImage={statusIndicatorIcon}
>         style={{height: 20, width: 20}}
>         backgroundColor={"green"}
>       />
> ```

## Properties

| Properties | Type | Description |
| - | - | - |
| backgroundImage | ImageType | sets image to be shown |
| style | StyleProp\<ViewStyle> | used to customise the statusIndicator |
| backgroundColor | string | used to set the background colour of statusIndicator view |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.