Core components and hooks in @sendbird/uikit-react
mainThe UIKit provides several key abstractions for building chat interfaces:
Context and State Management
SendBirdProvider: The required context provider for SDK components.useSendbirdStateContext: A hook used to access theSendBirdProvidercontext.sendBirdSelectors: A collection of selectors designed to be used in conjunction withuseSendbirdStateContext.
UI Components
App: A full-fledged group channel application component that combines multiple sub-components. It serves as a reference for composing your own chat UI.Channel: A UI component for group channel conversations.ChannelList: A component to display a list of channels.ChannelSettings: A component to manage settings for a specific channel.MessageSearch: A component to search for messages within a channel.OpenChannel: A UI component for open channel conversations.OpenChannelSettings: A component to manage settings for an open channel.
Important Notes:
- You must import the stylesheet from the package to ensure components render correctly.
- Component names may differ from their directory names (e.g., the
Channelcomponent is located within theConversationdirectory).