# Empty Newsfeed Component

The `AmityEmptyNewsFeedComponent` is used within the social.plus platform to indicate the absence of posts in the newsfeed. This component enriches the user experience by displaying an inviting and informative placeholder when the newsfeed is empty. It includes an empty state icon, title, description, and buttons to explore or create communities.

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

### Customization

<table><thead><tr><th width="335">Config ID</th><th width="122">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>social_home_page/empty_newsfeed/*</code></td><td>Component</td><td>You can customize component <code>theme</code></td></tr><tr><td><code>social_home_page/empty_newsfeed/illustration</code></td><td>Element</td><td>You can customize <code>icon</code></td></tr><tr><td><code>social_home_page/empty_newsfeed/title</code></td><td>Element</td><td>You can customize <code>text</code></td></tr><tr><td><code>social_home_page/empty_newsfeed/description</code></td><td>Element</td><td>You can customize <code>text</code></td></tr><tr><td><code>social_home_page/empty_newsfeed/explore_communities_button</code></td><td>Element</td><td>You can customize <code>text</code> and <code>icon</code></td></tr><tr><td><code>social_home_page/empty_newsfeed/create_community_button</code></td><td>Element</td><td>You can customize <code>icon</code></td></tr></tbody></table>

For more details on customization, please refer to the [Customization](/social-plus-uikit/uikit-4/customization.md) page.

### Usage

This component can be seamlessly integrated into your application to handle empty states in the newsfeed.

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

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

{% tab title="Web" %}
{% embed url="<https://gist.github.com/amythee/edf64a55f28c8182843f66fe61cf239c>" %}
{% endtab %}

{% tab title="React Native" %}
{% embed url="<https://gist.github.com/amythee/176852a181d7574c61a8d5260e7e8810>" %}
{% endtab %}

{% tab title="Flutter" %}
{% embed url="<https://gist.github.com/amythee/5755766332a3b2f189cc1927727e5dfd>" %}
{% 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/social/discover-and-search/social-home-page/empty-newsfeed-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.
