---
title: "Export dialog"
description: "An orders export: the page, the selection, every filtered row or a date range, a format and columns, with large exports emailed."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/export-dialog
---

# Export dialog

An orders export: the page, the selection, every filtered row or a date range, a format and columns, with large exports emailed.

Built on the Pro forms. Choose the current page, the selected rows (off, with the reason, when nothing is selected), everything the list's filters match, or a date range whose two days are checked as you type and counted live. The format is plain CSV or CSV for Excel, which adds the byte order mark Excel needs for “£” and accents. All 12 columns go in unless you open Customize and untick some; at least one has to stay. Export shows its progress, then downloads a real CSV of the sample rows. Anything over 5,000 rows is emailed instead, which the notice says up front and the button and result say again.

A Pro block built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/export-dialog
```

## Dependencies
- npm: lucide-react@^1.33.0, zod@^4.3.5
- edbn: edbn-base, button, card, checkbox, collapsible, field, text-link, data-table, form-core, form-date-field, form-fields

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More workspace blocks

All 6, with install commands: https://ui.edbn.me/docs/blocks/workspace (Markdown: https://ui.edbn.me/docs/blocks/workspace.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
