Skip to content

RtkViewerCount

Last updated View as MarkdownAgent setup

A component which shows count of total joined participants in a meeting.

Properties

Property Type Required Default Description
iconPack IconPack defaultIconPack Icon pack
meeting Meeting - Meeting object
t RtkI18n useLanguage() Language
variant ViewerCountVariant - Viewer count variant

Usage Examples

Basic Usage

import { RtkViewerCount } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return <RtkViewerCount />;
}

With Properties

import { RtkViewerCount } from '@cloudflare/realtimekit-react-ui';

function MyComponent() {
  return (
    <RtkViewerCount
      meeting={meeting}
      variant="primary"
    />
  );
}

Was this helpful?