# XWUIGameCompanionInterjection

A floating companion speech bubble that pairs an optional `portrait` with a `speaker` name and `text` line, anchored to a screen corner via the `position` config. It stays hidden until `show(speaker, text)` is called and then auto-dismisses after `dismissTime` ms (when `autoDismiss` is on), or via its built-in ghost close button; `dismiss()` and the `interjection-shown` / `interjection-dismissed` events let you wire it into dialogue flows. Use it for in-game companion comments and hints that pop in over the action.

## Basic Usage

Instantiates the companion interjection against the `#app` container with the default bottom-left position and `active: true`, so Lyra's portrait, name, and hint render immediately.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Creates an XWUIGameCompanionInterjection bubble with default position and auto-dismiss.
```

## Top-Right Tactical Hint

A persistent top-right interjection with `autoDismiss: false` that stays on screen until the player dismisses it.

```example
file: examples/TopRightHint.ts
html: examples/BasicUsage.html
title: Top-Right Tactical Hint
description: A top-right companion hint that never auto-dismisses, cleared only via the close button.
```

## Quick Quip

A short bottom-right banter line that auto-dismisses after a brief 3-second timer.

```example
file: examples/QuickQuip.ts
html: examples/BasicUsage.html
title: Quick Quip
description: A throwaway one-liner in the bottom-right that fades out after dismissTime ms.
```

```api
```
