Skip to content

RtkChat

Last updated View as MarkdownAgent setup

Full chat interface with message list, text input, image/file upload support, and pinned messages.

Properties

Property Type Required Default Description
meeting RealtimeKitClient - The RealtimeKit meeting instance
config UIConfig defaultConfig UI configuration object
iconPack IconPack defaultIconPack Custom icon pack
size 'lg' | 'md' | 'sm' | 'xl' 'sm' Size variant
t RtkI18n - i18n translation function

Usage Examples

Basic Usage

import { RtkChat } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return <RtkChat meeting={meeting} />;
}

With Properties

import { RtkChat } from "@cloudflare/realtimekit-react-native-ui";

function MyComponent() {
	return <RtkChat meeting={meeting} size="md" config={customConfig} />;
}

Was this helpful?