Skip to content
AnswerWell geo Documentation

Research · 5 min read · Answerwell

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 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”

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.

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.

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 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 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):

The same pattern appears in Angular/Core duplicates linked from the UI Kit API index.

  1. Missing keys — RtkFilePickerButton needs icon as keyof IconPack1; a sparse pack breaks only that control while the rest of the bar still renders defaults.
  2. Assuming global branding — passing iconPack on RtkStage does not automatically restyle every child; each mounted component needs the prop unless your app injects it.
  3. Ignoring required meeting/state props — custom SVGs on RtkOverlayModal still require meeting and states; omitted required fields fail before icon resolution matters.
  4. Wrong framework doc — Core and Angular tables match for rtk-switch, but React Native RtkMenuItem uses onClick and children, not menuVariant from RtkMenuItem (React).
  5. Type name drift — docs alternate IconPack and IconPack1; treat them as the same branding object in TypeScript unless your generated types say otherwise.
  1. Read Customise Branding and confirm each key in your IconPack object maps to a non-empty SVG string.

  2. Open the API page for a component you ship (for example RtkLeaveMeeting) and verify required props (meeting, states, etc.) are set in addition to iconPack.

  3. For file actions, cross-check RtkFilePickerButton so the icon key exists in the same pack you pass as iconPack.

  4. Compare behaviour with iconPack omitted: the UI should match documented defaults (defaultIconPack).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

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.