Meeting UI Kit IconPack, Branding, and Component Properties
How IconPack branding works in the RealtimeKit Humans UI Kit, which components accept iconPack, and required props like meeting and t.
This page summarises Cloudflare RealtimeKit Humans UI Kit documentation on custom icons and the property patterns shared across dozens of rtk-* components (Angular, React, Core, React Native, and iOS). If you are white‑labelling a meeting client or swapping toolbar glyphs, the same optional iconPack input appears almost everywhere; knowing IconPack’s shape and which other props are mandatory prevents silent fallback to defaults.
IconPack: what custom meeting icons are
Section titled “IconPack: what custom meeting icons are”IconPack is the UI Kit’s map from logical icon names to inline SVG. Cloudflare describes it as:
The IconPack is an object where: Object key - Denotes the name of the icon Object value - Stores the SVG string
— Cloudflare, Customise Branding
In practice you build one object (your brand’s mic, chat, leave, poll, and similar keys) and pass it into components. Any component that omits iconPack uses the built‑in map documented as defaultIconPack on each API page—for example rtk-ai-transcriptions (Core) lists iconPack as optional with default defaultIconPack.
iconPack on UI Kit components: how props repeat
Section titled “iconPack on UI Kit components: how props repeat”Which components accept iconPack
Section titled “Which components accept iconPack”Across the cluster, iconPack (type IconPack or IconPack1 in generated typings) is optional on meeting surfaces including RtkLeaveMeeting (React), rtk-breakout-room-manager (Angular), RtkChatSelectorUi (React), RtkMenu (React), and RtkLeaveButton (React Native) (Custom icon pack in the description). The Angular/Core pairs (rtk-notification Core vs Angular) expose the same property tables; pick the doc for your framework, not a different API.
Common conclusion: treat iconPack as a cross‑cutting theme prop. Set it once at a layout or provider boundary if your integration layer supports spreading props; otherwise pass the same object into each mounted rtk-* piece you show.
Components that use icon keys, not only the pack
Section titled “Components that use icon keys, not only the pack”Some controls reference a single entry inside the pack. RtkFilePickerButton (React) requires icon typed as keyof IconPack1 plus iconPack (optional, default defaultIconPack), filter, and label. Your custom IconPack must define the key you pass to icon or the button cannot resolve an SVG.
rtk-information-tooltip (Core) only documents iconPack—useful for tooltips that need a smaller subset of icons.
Transcript UI without iconPack
Section titled “Transcript UI without iconPack”rtk-transcript (Core) exposes t and optional transcript only—no iconPack. Not every UI Kit building block is icon‑customisable; check the specific API reference before assuming branding props exist.
meeting, states, and t: required context beside icons
Section titled “meeting, states, and t: required context beside icons”Icons sit on components that also need live meeting data or UI state.
| Prop | Typical requirement | Role |
|---|---|---|
meeting |
Required on most in‑call widgets (e.g. RtkMeetingTitle) | Binds UI to the active Meeting object |
states |
Required on modals and flows (e.g. RtkConfirmationModal) | Drives open/close and wizard state |
t |
Optional; default useLanguage() on web Core/React/Angular docs |
RtkI18n strings for labels tied to icons |
Breakout tooling adds domain fields: RtkBreakoutRoomManager requires allowDelete, assigningParticipants, defaultExpanded, isDragMode, mode ('edit' \| 'create'), room (DraftMeeting), and states in addition to optional iconPack. Custom icons do not replace these—they only change how actions look.
Feature-heavy components beyond iconPack
Section titled “Feature-heavy components beyond iconPack”RtkPaginatedList (React) lists many required callbacks (fetchData, createNodes, onNewNode, onNodeDelete, onNodeUpdate, rerenderList, etc.) plus optional iconPack and reset. RtkTextComposerView (React) wires keyDownHandler, maxLength, rateLimitBreached, and optional setText—again with optional iconPack. Branding is one line in a larger contract.
Platform differences: iOS, React Native, and web
Section titled “Platform differences: iOS, React Native, and web”iOS MeetingViewController and menus
Section titled “iOS MeetingViewController and menus”iOS MeetingViewController documents optional dataSource for custom top, middle, and bottom regions—not iconPack on the controller itself:
Property …
dataSource… Data source for providing custom topbar, middle view, and bottom bar— Cloudflare, MeetingViewController
For native chrome, RtkMoreMenu takes initializer parameters features, onSelect, and optional title instead of the web-style property bag. RtkEndMeetingControlBarButton adds shouldShowAlertOnClick (default true). RtkNotificationConfig configures join/leave/chat/poll notifications—separate from per-component iconPack.
React Native layout variants
Section titled “React Native layout variants”React Native entries sometimes emphasise layout over meeting wiring: RtkMenu (React Native) requires children, size, and placement string unions; RtkParticipantWaiting uses optional RealtimeKitClient as meeting. RtkUIProvider only wraps children—a likely place to centralise theme props in app code even though the cluster does not document provider-level iconPack fields.
Common conclusion: web Angular/React/Core docs share one property-model; iOS and React Native pages diverge for native APIs. Confirm the platform-specific page before copying props from a React example into Swift or React Native.
AI transcriptions, chat, and polls with iconPack
Section titled “AI transcriptions, chat, and polls with iconPack”Representative feature components (all optional iconPack, default defaultIconPack):
- RtkAiTranscriptions — requires
initialTranscriptionsandmeeting - RtkChatSearchResults — requires
channelId,meeting,query - RtkPoll — requires
permissions,poll,self
The same pattern appears in Angular/Core duplicates linked from the UI Kit API index.
Common mistakes when customising IconPack
Section titled “Common mistakes when customising IconPack”- Missing keys —
RtkFilePickerButtonneedsiconaskeyof IconPack1; a sparse pack breaks only that control while the rest of the bar still renders defaults. - Assuming global branding — passing
iconPackon RtkStage does not automatically restyle every child; each mounted component needs the prop unless your app injects it. - Ignoring required meeting/state props — custom SVGs on RtkOverlayModal still require
meetingandstates; omitted required fields fail before icon resolution matters. - Wrong framework doc — Core and Angular tables match for rtk-switch, but React Native RtkMenuItem uses
onClickandchildren, notmenuVariantfrom RtkMenuItem (React). - Type name drift — docs alternate
IconPackandIconPack1; treat them as the same branding object in TypeScript unless your generated types say otherwise.
How to check this on your site
Section titled “How to check this on your site”-
Read Customise Branding and confirm each key in your
IconPackobject maps to a non-empty SVG string. -
Open the API page for a component you ship (for example RtkLeaveMeeting) and verify required props (
meeting,states, etc.) are set in addition toiconPack. -
For file actions, cross-check RtkFilePickerButton so the
iconkey exists in the same pack you pass asiconPack. -
Compare behaviour with
iconPackomitted: the UI should match documented defaults (defaultIconPack). -
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page does not match the UI Kit behaviour you see, email yimasynthetic@gmail.com with the page URL and the exact statement you think is wrong so it can be corrected or clarified.