> ## 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.

# ActionsIcon

> ActionsIcon — CometChat documentation.

`CometChatActionsIcon` is a pre-defined structure for creating actions that the user can perform on a message with an icon representation.

## Structure of ActionsIcon

| Name            | Type               | Type                                                                |
| --------------- | ------------------ | ------------------------------------------------------------------- |
| id              | string             | Unique identifier for the message action                            |
| title           | string             | Heading text for the message action                                 |
| iconURL         | string             | Asset URL for the icon to symbolize a message action                |
| iconTint        | string             | Color applied to the icon of a message action                       |
| titleFont       | string             | Sets all the different properties of font for the action title text |
| titleColor      | string             | Sets the foreground color of action title text                      |
| backgroundColor | string             | Color applied to the background of the message action               |
| onClick         | (id:number)=> void | Function invoked when user clicks on the message action.            |
