LogoSniCap
OverviewDemosAPIArchitecture

API reference

@reactsnap/pdf

Preview the current PDF adapter status and the gap between the public API surface and the future production backend.

API Reference@reactsnap/pdfMenu

Preview the current PDF adapter status and planned backend.

On this page

@reactsnap/pdf is published, but the real PDF backend is not implemented yet. The package exists so teams can see the intended shape early while the browser-side render pipeline matures.

renderToPdf(input, options?)#

import { renderToPdf } from '@reactsnap/pdf';

await renderToPdf(document.getElementById('invoice')!, {
  filename: 'invoice.pdf',
});

Current behavior#

The current implementation throws a clear runtime error:

PDF export is scaffolded but not implemented yet.

That message is intentional. The site should keep this page live for discoverability, but it must not imply that production PDF export already exists.

Why keep the page anyway#

  • Developers can understand the planned package boundary.
  • The /reactsnap section stays structurally complete.
  • Roadmap and API docs tell a consistent story instead of hiding unfinished work.