# XWUIModal

Imperative modal toolkit: backdrop blur, scroll lock, Escape/backdrop dismiss,
and promise-based `confirmModal` / `promptModal` / `alertModal`. Framework-
agnostic DOM helpers — not a view-mounted custom element.

Use this when a host needs a dialog from a click handler or async flow
(admin confirm, typed delete, auth shell). Prefer `XWUIOverlayDialog` when the
dialog is a long-lived CE in the page tree.

## Basic Usage

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Confirm, prompt, and alert buttons that open XWUIModal helpers.
```

## Showcase

```example
file: examples/Showcase.ts
html: examples/Showcase.html
title: Showcase
description: Confirm / prompt / alert / custom createModal side by side.
```

```api
```
