Syntax
Parameters
An array of custom header items to display. Each item is an object that defines the properties of the header element.
items properties
dropdown specific properties
When set to
true, the detail view title automatically updates to show the text of the currently selected dropdown item. When set to false (default), the detail view title displays the dropdown’s main label.Layout compatibility
dropdown submenu item properties
Returns
Examples
The following example creates a help button as menu item:showSelectedAsTitle property, which updates dynamically the detail view title to display the selected item’s text. In the example, when a user selects “Spanish”, the detail view title automatically updates from “Language” to “Spanish”:
Considerations
Layout support
Chat header customization is available for all form layouts:fullscreen-overlay, float, and custom.
Float layout
All custom items always appear in the side panel because Float has a fixed width of 380px.Dropdown behavior by layout
Dropdown items behave differently based on form layout:Side panel visibility
The side panel appears when at least one of the following features is enabled:- Custom header items
- Chat thread list (controlled by
features.showThreadList) - Memory settings (controlled by
features.showAgentMemory)
Itens ordering
Items render in the UI in the same order they are defined in the configuration array.Navigation structure
Supports a maximum two-level hierarchy (main menu and one submenu level). Deeper nesting is not supported.Responsive design
Custom header items dynamically migrate between the header and side panel based on container width:The chat component uses a responsive layout with an optional side panel for rendering the chat thread list and custom header content. When implementing a custom layout, ensure the chat container height is at least 510px. In narrower viewports, the side panel collapses and the threads list container may not be rendered as expected.
- 5 custom items at 1200px width: 3 in header, 2 in side panel
- 5 custom items at 800px width: 2 in header, 3 in side panel
- 5 custom items at 400px width: 1 in header, 4 in side panel
- 5 custom items at 280px width: 0 in header, 5 in side panel
Do you need practical examples?
Learn how to apply the features available for embedded chat into your implementation with guidance and examples.

