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

# ActionItem

> ActionItem — CometChat documentation.

CometChatActionItem is a pre-defined structure for creating action that can be used to perform an action such as a button click or navigating a link.

## Structure of CometChatActionItem

| Name         | Description                                                                                                                                                                          |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id           | Unique identifier for each action                                                                                                                                                    |
| title        | Heading text for each action                                                                                                                                                         |
| titleFont    | Sets all the different properties of font for the action text. [Reference link](https://developer.mozilla.org/en-US/docs/Web/CSS/font)                                               |
| titleColor   | Sets the foreground color of action text.                                                                                                                                            |
| iconURL      | Sets the asset URL of the icon for each action                                                                                                                                       |
| iconTint     | Sets the tint or color applied to each action                                                                                                                                        |
| borderRadius | Sets the border radius of the element                                                                                                                                                |
| background   | Sets all background style properties at once, such as color, image, origin and size, or repeat method. [Reference link](https://developer.mozilla.org/en-US/docs/Web/CSS/background) |
| onClick      | Method to be invoked when user clicks on each action                                                                                                                                 |
