---
id: scroll-to-bottom-button
title: ScrollToBottomButton
---

Component to render the floating button, which when pressed scrolls the `MessageList` to the most recent message.

You can replace this default UI component using the `ScrollToBottomButton` prop on [Channel](../core-components/channel.mdx) component.

```tsx
<Channel ScrollToBottomButton={CustomScrollToBottomButton} />
```

## Props

### onPress

`onPress` handler for the button.

| Type |
| - |
| function |

### showNotification

When false, button won't be rendered.

| Type |
| - |
| boolean |

### unreadCount

Unread count on current channel.

| Type |
| - |
| number |
