# XWUILiveViewerCount

An eye-icon plus a compactly formatted viewer count (e.g. 12453 renders as 12K, millions as 1.2M) for live-stream overlays, with an accessible "N viewers" label. Pass the raw `data.count`; update it at runtime with `setCount()`.

## Basic Usage

A viewer count of 12,453 rendered next to the eye icon as a compact 12K.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A live viewer count for 12,453 viewers, shown compacted to 12K beside the eye icon.
```

## Small Audience

A sub-thousand viewer count rendered as the exact raw number.

```example
file: examples/SmallAudience.ts
html: examples/SmallAudience.html
title: Small Audience
description: An 87-viewer count shown unformatted because it falls below the thousands threshold.
```

## Millions of Viewers

A massive audience compacted to the millions suffix.

```example
file: examples/MillionsAudience.ts
html: examples/MillionsAudience.html
title: Millions of Viewers
description: A 2,300,000 viewer count collapsed to 2.3M by the compact formatter.
```

```api
```
