# ChannelPreviewUnreadCount

> **Info:** This is documentation for **Stream Chat React Native SDK v4**, which is no longer actively maintained. For up-to-date documentation, see the [latest version (v10)](https://getstream.io/chat/docs/sdk/react-native/).

Component to render unread count on a channel, within the [`ChannelList`](https://getstream.io/chat/docs/sdk/react-native/v4/core-components/channel-list/) component.
This is the default component provided to the prop [`PreviewUnreadCount`](https://getstream.io/chat/docs/sdk/react-native/v4/core-components/channel-list/#previewunreadcount) on the `ChannelList` component.

## Props

### **maxUnreadCount**

Max number to display within the unread notification badge.
The value cannot exceed the backend limit of 255.

| Type   | Default |
| ------ | ------- |
| number | 255     |

### **unread**

Number of unread messages on the channel

| Type   |
| ------ |
| number |

### channel

Instance of Channel from stream-chat package.

| Type                                                |
| --------------------------------------------------- |
| [Channel](https://getstream.io/chat/docs/javascript/creating-channels/) |

---

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/v4/ui-components/channel-preview-unread-count/](https://getstream.io/chat/docs/sdk/react-native/v4/ui-components/channel-preview-unread-count/).