Add an “export as PDF” button to your dashboard
Every dashboard eventually gets asked for "can I download this?" — and the answers all hurt: re-render the view server-side with a headless browser you now operate, rebuild the chart in a PDF library, or ship a screenshot that doesn't survive dark mode. Meanwhile the perfect render already exists, on the user's screen.
One element is enough
Point the capture at a selector — the chart, the invoice, the whole report — and that element is the file. Several formats come out of a single capture: PNG for chat, PDF for filing, SVG when it should stay crisp.
No rendering farm to run
The user's browser has already done the rendering; the SDK reads its computed result. There is no headless Chrome to patch, scale, or explain to your CFO — which is also why the per-capture economics beat server-side rendering.
Files can land on your side too
Downloads for the user, plus a webhook to you when you want the export recorded — with whatever params the button attached, like the report id and who exported it.
Questions people ask
- Does it work on canvas-based charts?
- Canvas content is captured as rendered. Whatever your charting library painted is what appears in the file.
- Can users tweak the export before saving?
- Optionally — switch the editor on and they can crop, annotate or caption before the file is produced. Leave it off and the export is one click.