Skip to content

RtkParticipantToggle

Toggle button to open the participants sidebar panel. Shows a badge with pending request count.

Properties

PropertyTypeRequiredDefaultDescription
meetingRealtimeKitClient-The RealtimeKit meeting instance
size'lg' | 'md' | 'sm' | 'xl'-Icon size
variant'button' | 'horizontal'-Layout variant
iconPackIconPackdefaultIconPackCustom icon pack
statesStates-UI state object
tRtkI18n-i18n translation function

Usage Examples

Basic Usage

import { RtkParticipantToggle } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkParticipantToggle meeting={meeting} />;
}

With Properties

import { RtkParticipantToggle } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkParticipantToggle meeting={meeting} size="md" variant="button" />;
}