Skip to content
caliper ui pro docs

Data export

A copy of someone's data on request: choose what to include and the format, follow the progress, then download until the link expires. One export at a time; past ones stay listed.

Pro
What to export

We will email you when it is ready. The link works for 7 days.

Scheduled

  • General ledger csvEvery month · next on 1 Nov

Exports

  • Invoices and payments, Customers and supplierscsv
    Requested 12 Oct, 14:05 · 48.2 MB · link works until 19 Oct, 14:20
  • General ledgerjson
    Requested 30 Sept, 08:00 · 212.0 MB · link expired

When to use

  • Account settings, for privacy requests and leaving the product.
  • Admin areas that hand over a workspace's records.

When not to use

  • Exporting the rows of one table; use the table's own export.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/data-export

Adds its 9 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

DataExport

9 props
PropTypeDefaultDescription
scopes *readonly ExportScope[]—
formatsreadonly { value: string; label: string; }[][{ value: "json", label: "JSON" }, { value: "csv", label: "CSV" }]
jobs *readonly ExportJob[]—Exports, newest first.
onRequest *(request: ExportRequest) => void | Promise<void>—
schedulesreadonly ExportSchedule[][]Repeating exports; each runs on its own and appears under Exports when it does.
onCancelSchedule((id: string) => void)—
onDownload *(job: ExportJob) => void—
nowstringnew Date().toISOString()ISO time treated as now, for expiry.
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes alert semantics, with aria-label, aria-invalid, aria-describedby, aria-live, aria-labelledby and aria-hidden kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/data-export.md

The index of every part is at /llms.txt.

More in Settings & security