# XWUIButtonDownload

Download trigger. Host fetches; adapter only auto-clicks data:/blob: hrefs. Compose conceptually with Button/Exporter; do not nest them.

## Basic Usage

Idle download.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Idle download.
```

## Named file

CSV filename.

```example
file: examples/NamedFile.ts
html: examples/NamedFile.html
title: Named file
description: CSV filename.
```

## Pending

Busy state.

```example
file: examples/Pending.ts
html: examples/Pending.html
title: Pending
description: Busy state.
```

## Error

Host-reported failure.

```example
file: examples/Error.ts
html: examples/Error.html
title: Error
description: Host-reported failure.
```

```api
```
