# XWUIChatDateDivider

A centered, pill-shaped separator placed between message groups in a chat transcript to mark a date boundary such as "Today", "Yesterday", or "12 May 2026". It renders a single `role="separator"` element displaying the `label` string, which can be changed at runtime with `setLabel()`.

## Basic Usage

A date divider rendering the `label` "Today".

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Single "Today" pill separator between message groups.
```

## Yesterday

A relative-day divider rendering the label "Yesterday".

```example
file: examples/Yesterday.ts
title: Yesterday
description: A "Yesterday" pill separator marking the previous day's messages.
```

## Full Calendar Date

A divider whose label is a full calendar date formatted from a real Date in the past.

```example
file: examples/FullDate.ts
title: Full Calendar Date
description: A full "day month year" separator for older message groups.
```

```api
```
