# XWUIChatHeader

The conversation header that sits above an open chat thread: an identity slot (an `XWUIAvatar` overlaid with an `XWUIChatPresenceDot`, the contact `name`, and a `subtitle`/`presenceText` line) plus a row of action buttons for search, voice call, video call, and overflow menu. Each action button is independently toggled by the `showSearch`, `showVoiceCall`, `showVideoCall`, and `showMenu` conf_comp flags, and every control wires to a data callback (`onProfileClick`, `onSearchClick`, `onVoiceCallClick`, `onVideoCallClick`, `onMenuClick`). When no `subtitle` or `presenceText` is given, the subtitle is derived from `presence` (e.g. `busy` renders "do not disturb"); call `setPresence()` to update the dot live.

## Basic Usage

A header for a single contact named "Sarah Chen" showing an online presence dot and an "online" subtitle, with all four action buttons left at their default-enabled state.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Header for an online contact with avatar, presence dot, and the default search/voice/video/menu actions.
```

## Busy, Minimal Actions

A busy contact whose subtitle derives to "do not disturb", with only the overflow-menu action shown.

```example
file: examples/BusyMinimal.ts
title: Busy, Minimal Actions
description: Busy-presence header with search, voice, and video actions hidden - menu only.
```

## Group Header

A group thread header that overrides the subtitle with a member list and keeps all four actions enabled.

```example
file: examples/GroupSubtitle.ts
title: Group Header
description: Group conversation header using a custom member-list subtitle with all actions enabled.
```

```api
```
