Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Realtime Participant UI Kit: Tiles, Media State, and Icon Branding

How Cloudflare RealtimeKit Humans UI Kit components use Meeting, Peer, States, and custom icon packs for video meetings.

This page summarises Cloudflare RealtimeKit Humans UI Kit documentation: pre-built meeting UI pieces (tiles, grids, settings, indicators) and the remote participant (Peer) data they read. The kit is published for core/web components, React, Angular, React Native, iOS, and Android. Use it when you already have a RealtimeKit meeting client and need a consistent in-call UI without rebuilding every control.

Remote participants (Peer): identity and media fields UI components expect

Section titled “Remote participants (Peer): identity and media fields UI components expect”

UI Kit tiles, name tags, and visualizers do not invent participant state; they bind to a participant object (typed as Peer on web; RTKParticipant, RtkMeetingParticipant, or similar on mobile). Remote Participants documents the fields your layout logic and components rely on.

Metadata: who is on the call and how they are shown

Section titled “Metadata: who is on the call and how they are shown”

Identity fields drive avatars, labels, host badges, pinning, and stage UI:

Field Role
id Session-specific identifier when the participant joins (also peerId)
userId Persistent ID from when the participant was added to the meeting
name Display name
picture URL for the display picture, if any
customParticipantId Customer-set ID when adding the participant
isHost Host privileges
isPinned Whether the participant is pinned in the meeting
presetName Preset applied when the participant was added
stageStatus Stage status (only in stage-enabled meetings)

id - Session-specific identifier generated when the participant joins meeting session (also known as peerId)
userId - Permanent identifier of the participant generated when adding the participant to a meeting
name - Display name of the participant
picture - String URL to the participant’s display picture (if any)

— Cloudflare, Remote Participants

Set name and picture before join when you care about correct rtk-avatar / RtkAvatar rendering; use isPinned with tile and pip behaviour.

Media: camera, mic, and screen share flags and tracks

Section titled “Media: camera, mic, and screen share flags and tracks”

Tiles and indicators switch layout based on booleans and tracks:

Field Meaning
videoEnabled Camera on
audioEnabled Microphone unmuted
screenshareEnabled / screenShareEnabled Screen sharing active (spelling varies by API surface)
videoTrack Camera video track
audioTrack Microphone audio track
screenShareTracks Screen share video and audio tracks

videoEnabled - Whether the participant’s camera is currently enabled
audioEnabled - Whether the participant’s microphone is currently unmuted
screenshareEnabled - Whether the participant is currently sharing their screen

— Cloudflare, Remote Participants

For screen-share layouts, pass isScreenShare / isScreenshare on components such as rtk-audio-visualizer so audio is taken from screenShareTracks.audio instead of audioTrack.

UI Kit component props: meeting, participant, states, and shared optional inputs

Section titled “UI Kit component props: meeting, participant, states, and shared optional inputs”

Most web UI Kit entries share the same wiring pattern: required meeting session and UI state, plus per-widget participant or config.

Required session and state on meeting-wide widgets

Section titled “Required session and state on meeting-wide widgets”

Grid, settings, and indicator components typically require:

  • meeting — active Meeting (or RealtimeKitClient on some mobile APIs)
  • states — States object for UI mode (settings panels, debugger, pagination)
  • size — Size / Size1 token controlling component scale
  • config — UIConfig where layout options matter (e.g. rtk-audio-grid, rtk-participant-tile)

rtk-audio-grid also requires hideSelf (whether your own tile appears in the audio-only grid) and optional t for i18n (useLanguage() by default).

Per-participant components: participant plus layout variants

Section titled “Per-participant components: participant plus layout variants”

Single-user widgets take participant (Peer) and often meeting:

  • rtk-participant-tile — nameTagPosition (bottom-left … top-center), variant (solid | gradient), isPreview for pre-join
  • rtk-audio-tile — audio-focused tile with the same config/state pattern
  • rtk-participant — summary view via view (ParticipantViewMode)

React Native RtkParticipantTile documents the composed behaviour explicitly:

A video tile for a single participant showing their video feed, name tag with audio indicator, avatar (when video is off), and pin indicator.

— Cloudflare, RtkParticipantTile (React Native)

iOS RtkParticipantTileView combines video, avatar, name tag, and pin in one view; Android RtkParticipantTileView plays video and allows name tag and avatar placement.

Optional iconPack, t, and device selectors

Section titled “Optional iconPack, t, and device selectors”

Nearly every component accepts optional iconPack (default defaultIconPack) and optional t / RtkI18n for strings. Device pickers (rtk-camera-selector, rtk-microphone-selector, rtk-speaker-selector) use variant 'full' | 'inline' and require meeting so they can list and switch devices.

Participant tile and screen share: what renders when

Section titled “Participant tile and screen share: what renders when”

rtk-participant-setup mirrors tile layout for the pre-join screen (isPreview). rtk-screenshare-view plays shared content and reuses tile-like overlays:

A component which plays a participant’s screenshared video. It also allows for placement of other components similar to rtk-participant-tile. This component will not render anything if the participant hasn’t start screensharing.

— Cloudflare, rtk-screenshare-view

If share UI is blank, confirm screenshareEnabled on the peer and that you passed the sharer’s participant, not only the meeting object.

rtk-avatar accepts Peer | WaitlistedParticipant | { name: string; picture: string } and variant (AvatarVariant). rtk-name-tag overlays the name and pairs with rtk-audio-visualizer:

An audio visualizer component which visualizes a participants audio. Commonly used inside rtk-name-tag.

— Cloudflare, rtk-audio-visualizer

Use hideMuted when you want the visualizer hidden for muted users. RtkMeetingNameTag on iOS adds live mic status on top of the base RtkNameTag.

Meeting chrome: settings, debugger, grids, and status indicators

Section titled “Meeting chrome: settings, debugger, grids, and status indicators”
Area Representative components Typical inputs
In-call settings rtk-settings, rtk-settings-audio, rtk-settings-video meeting, states, size
Diagnostics rtk-debugger, rtk-debugger-audio, rtk-debugger-video, rtk-debugger-screenshare, rtk-debugger-system meeting, states
Layout helpers rtk-grid-pagination, rtk-participant-count, rtk-clock meeting, often variant on pagination
Session signals rtk-recording-indicator, rtk-livestream-indicator, rtk-spotlight-indicator, rtk-network-indicator meeting; network also needs participant
Live playback rtk-livestream-player meeting

rtk-file-message-view is file-centric (name, size, url) rather than meeting-centric. rtk-more-toggle toggles overflow UI via states.

Custom icon branding: matching default icon names in JSON

Section titled “Custom icon branding: matching default icon names in JSON”

To re-skin controls without forking components, supply a custom iconPack on any component that lists iconPack. Keys must match the default pack names from Customise Branding:

Each icon in your custom icon pack JSON file should be defined as a key-value pair where the key matches one of the icon names above, and the value is the SVG string for that icon.

— Cloudflare, Customise Branding

The default set includes meeting actions such as mic_on, mic_off, video_on, video_off, share_screen_start, share_screen_stop, pin, pin_off, participants, settings, recording, spotlight, join_stage, leave_stage, and wand. A typo in a key silently falls back to missing icons for that slot.

RTKPip manages extra video sources (pinned tiles, custom elements) alongside the main stage. Documented methods include .init([options]), .addSource(id, element, enabled, [displayText]), .updateSource, .removeSource, .removePinnedSource, .removeAllSources, .enable, and .disable. getInitials() is shared with avatar rendering in the UI Kit.

Common mistakes when wiring UI Kit components

Section titled “Common mistakes when wiring UI Kit components”
  • Passing a stale participant reference instead of the live peer from meeting — media booleans and tracks will not update tiles and visualizers.
  • Omitting states on components that require it (rtk-settings, rtk-debugger, rtk-grid-pagination) — panels stay closed or pagination does not advance.
  • Using camera audioTrack on screen-share views — set isScreenShare on rtk-network-indicator and visualizers when showing share audio/video.
  • Expecting rtk-screenshare-view to render before share starts — the component renders nothing until sharing is active.
  • Custom iconPack JSON with wrong key names — only names from Customise Branding are recognised.
  • Mixing platform docs: React Native uses RealtimeKitClient and literal size strings ('sm', 'md', …) on some widgets; web core uses Meeting and Size types — copy props from the binding you actually import.
  1. In a test meeting, log or inspect remote peer objects and compare fields to Remote Participants (videoEnabled, audioEnabled, share flags, isPinned).
  2. Mount rtk-participant-tile (or your platform’s equivalent) with live meeting, states, and participant; toggle mic/camera and confirm avatar vs video and name tag updates.
  3. Start screen share and verify rtk-screenshare-view appears only while sharing; confirm isScreenShare on rtk-audio-visualizer follows share audio.
  4. Apply a custom iconPack whose keys match Customise Branding and confirm toolbar icons (e.g. mic_off, share_screen_start) render your SVGs.
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match the official RealtimeKit docs or your integration behaviour, email yimasynthetic@gmail.com with the page URL and the exact statement you want clarified.