# Reaction List Component

Users can react (add or remove reactions) to the message and can also view the list of users who reacted to the message along with their reaction.&#x20;

<figure><img src="/files/yUhcWR4dlLPyVVUqU5tj" alt=""><figcaption></figcaption></figure>

### Features:

| Feature       | Description                                                 |
| ------------- | ----------------------------------------------------------- |
| Reaction List | Users can view the list of user who reacted on the message. |

### Customization

| Config ID                   | Config Key | Type      | Description                       |
| --------------------------- | ---------- | --------- | --------------------------------- |
| `live_chat/message_list/`\* | theme      | Component | You can customize component theme |

### Usage:

{% tabs %}
{% tab title="iOS" %}
{% embed url="<https://gist.github.com/amythee/1f12a6f1128d445c31d3c5bb2a97bb42>" %}
{% endtab %}

{% tab title="Android" %}
{% embed url="<https://gist.github.com/95bb12b0e79a0fb35593c8ed629c9193>" %}
{% endtab %}

{% tab title="React" %}

```tsx
import { AmityReactionList } from '@amityco/ui-kit';
import React from 'react';

interface SampleAmityReactionListProps {
  referenceId: string;
  referenceType: Amity.ReactableType;
}

const SampleAmityReactionList = ({ referenceId, referenceType }: SampleAmityReactionListProps) => {
  return <AmityReactionList referenceId={referenceId} referenceType={referenceType} />;
};

export default SampleAmityReactionList;
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.social.plus/social-plus-uikit/uikit-4/chat/live-chat/live-chat-page/live-chat-message-list-component/reaction-list-component.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
