# downloadBlob (@salmonui/data-grid)

> The downloadBlob function of @salmonui/data-grid: Saves a Blob or an export file through a temporary object URL. Returns false outside a browser (SSR, workers without a document), so it is safe to call anywhere.

Canonical: https://salmonui.dev/docs/reference/data-grid/downloadBlob

```ts
import { downloadBlob } from '@salmonui/data-grid';
```

Entry index: https://salmonui.dev/docs/reference/data-grid (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid.md).

## Reference

Kind: function

```ts
function downloadBlob(data: Blob | ExportFile<Uint8Array | string>, fileName?: string, doc?: Document | undefined): boolean;
```

Saves a `Blob` or an export file through a temporary object URL. Returns
false outside a browser (SSR, workers without a document), so it is safe
to call anywhere.
