Chat UIKit React v3
Chat UIKit React
Chat UIKit
Version 3

Customize the channel settings screen

Copy link

This tutorial walks you through the process of customizing the channel settings screen in your React app. In this tutorial, you will be able to:

Note: Our React StoryBook offers the full list of customizable components, their properties, and even sample codes. Visit the StoryBook to explore more customization options.


Copy link

The channel settings screen can be largely divided into to sections: a header with a title and buttons and a body that contains menu items. Here, we will focus on customizing the header.

The header consists of a title and the buttons on each end. You can customize the button icons, their color, and size through renderLeft and renderRight functions. You can also hide them by rendering nothing like renderLeft={() => {}}.

Meanwhile, the header text string can be customized through the renderMiddle function.

import SendbirdProvider from "@sendbird/uikit-react/SendbirdProvider";
import ChannelSettings from '@sendbird/uikit-react/ChannelSettings';
import Header from '@sendbird/uikit-react/ui/Header';

const ChannelSettingsPage = () => {
  return (
      renderHeader={() => (
          // Render nothing to hide the button.
          renderLeft={() => {}}
          // Change the header text string.
          renderMiddle={() => (
                  "New title here"
          // Show or hide the right-top corner button.
          renderRight={() => (
              renderIcon={(props) => (
              onClick={() => {}}

function App() {
  return (
    // The chat interface can expand up to the dimensions of your parent component.
    // To achieve a full-screen mode, apply the following CSS rules to the parent element.
    <div style={{ width:'100vw', height:'100vh' }}>
        // Your Sendbird application ID can be found on Sendbird dashboard. 
        // Specify the user ID you've created on the dashboard.
        // Or you can create a user by specifying a unique userId.  
        <ChannelSettingsPage />

export default App;

Note: You can find a full list of props you can customize at our React StoryBook on icons.

On this page