# XWUILiveChat

A live-stream chat panel that composes XWUIChatTranscript configured for high-throughput broadcast chat - the chat list is hidden, auto-scroll is on, and a slim composer is used. Pass `data.entries` (XWUIChatTranscript message entries) and `conf_comp.viewerId` (both required) plus an `onSend` handler; set `conf_comp.composerPlaceholder` (default "Say something…") and `conf_comp.readOnly` to hide the composer. New messages can be streamed in at runtime via `appendEntry()`.

## Basic Usage

A live chat with three incoming viewer messages and the current viewer identified as "me".

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A live-stream chat seeded with three viewer messages and an active composer for viewerId "me".
```

## Mixed Entry Kinds

A transcript that interleaves date dividers, system notices, and viewer messages.

```example
file: examples/MixedEntries.ts
html: examples/MixedEntries.html
title: Mixed Entry Kinds
description: A live chat mixing date, system, and message entries, including the viewer's own outgoing message.
```

## Read-Only Viewer Chat

A moderated chat with the composer hidden so the viewer can read but not post.

```example
file: examples/ReadOnlyChat.ts
html: examples/ReadOnlyChat.html
title: Read-Only Viewer Chat
description: A slow-mode chat with conf_comp.readOnly enabled, hiding the composer.
```

```api
```
