RealtimeKit UI Kit Custom Header, Controlbar and Meeting Layout
How to replace default meeting chrome with custom Angular layouts using RealtimeKit UI Kit web components and rtk-meeting.
This page summarises Cloudflare RealtimeKit documentation for the Humans UI Kit: prebuilt meeting chrome (rtk-header, rtk-controlbar) and how to swap them for custom Angular wrappers that still use individual rtk-* controls. The kit is a set of web components you place inside rtk-meeting; most controls expect a live meeting object from RealtimeKitClient.init.
rtk-meeting: shell for the default or custom meeting UI
The meeting instance is assigned on the element (for example meetingComponent.meeting = this.meeting and showSetupScreen = true) after loading @cloudflare/realtimekit and calling init with a participant authToken, as shown in Add Custom Controlbar and Add Custom Header.
Fastest path; pass [meeting]="meeting" and optional size, disableRender
Custom Angular header / controlbar
Branding, extra buttons, or a different control layout while keeping kit behaviour
Pick individual rtk-* tags only
Fine-grained layouts without using the bundled header or controlbar views
Bundled chrome can hide its own markup when you compose children yourself: both rtk-header and rtk-controlbar support [disableRender]="true" in the API examples, which pairs with replacing those tags by custom components.
Custom controlbar: replace rtk-controlbar with your own layout
Custom controlbars are Angular components whose templates arrange UI Kit toggles and buttons in columns or groups, then you drop that component inside rtk-meeting instead of rtk-controlbar.
How to swap the default controlbar in the meeting template
Fullscreen only works if the toggle knows which DOM node to expand. The custom controlbar guide wires rtk-fullscreen-toggle after view init and sets targetElement to the rtk-ui-provider node (see Add Custom Controlbar). The API documents the property as:
Cloudflare notes that RealtimeKit UI provides a default header view (RtkMeetingHeaderView in their wording on Add Custom Header); when you need extra controls, you replace that bundled view with individual UI Kit components while keeping Angular’s component and event model.
Beyond header and controlbar, the UI Kit exposes many single-purpose web components. They are not a second framework: you place them in templates and pass inputs consistent with each Angular API reference page.
The same [meeting]="meeting" pattern appears across toggles, sidebars, chat, settings, and debug tools—for example rtk-chat, rtk-sidebar, rtk-settings, and rtk-debugger-toggle. Until meeting is initialised and assigned, controls cannot drive session state.
rtk-meeting itself accepts layout-oriented inputs such as [applyDesignSystem], [config], and [gridLayout] when you stay on the default shell but tune presentation.
Angular module setup: CUSTOM_ELEMENTS_SCHEMA and declarations
The same requirement appears in Add Custom Header. Declare MeetingComponent, CustomControlbarComponent, and CustomHeaderComponent in declarations alongside BrowserModule.
Open your app’s meeting route with DevTools and confirm a single rtk-meeting hosts your custom app-custom-header and/or app-custom-controlbar, with no extra default rtk-header / rtk-controlbar unless intended.
Verify RealtimeKitClient.init completes and the meeting reference is set on the meeting element before toggles are used, following Build using UI Kit and the Add Custom Controlbar flow.
Test mic, camera, leave, and one sidebar action (chat or participants) to confirm [meeting]="meeting" wiring on each embedded component matches its API reference page.
Trigger fullscreen and confirm the viewport matches the element targeted for rtk-fullscreen-toggle.