BroadPaper SDK is a set of embeddable report designer and PDF rendering tools for business applications, positioned on its official website as "put a visual report designer into your React or Angular application." Developers are responsible for declaring data, users are responsible for designing documents, and BroadPaper is responsible for layout, branding, pagination, and outputting print-grade PDFs.
Purpose Every serious business application eventually needs customer-facing documents: review reports, statements, fact sheets, certificates, invoices. BroadPaper is intended to replace the practice of teams repeatedly building their own report designers, by providing a report designer that can be embedded inside a product.
Main capabilities
- Structured document model: pages, sections, rows, columns, blocks; users cannot break the grid.
- Pagination engine: supports keep-together, orphans and widows, repeated table headers, and headers with page numbers.
- What you see is where it breaks: preview and PDF use the same measurer and embed theme fonts, so pagination seen on screen matches the file.
- One template, multiple brands: templates can reference theme tokens instead of fixed colors and fonts, and can be rebranded by changing one option.
- Browserless vector PDF: the engine, about 7 MB, compiled from Rust to WebAssembly, can render selectable text and vector charts in the browser or Node without installing Chromium.
- Binding and type system: a handwritten expression language, no eval, checked against the schema and with autocompletion support.
- Tables, repeaters, charts: sorting, limits, conditional formatting, repeated headers; charts are interactive on screen and remain consistent when printed.
- Custom blocks: a declarative inspector plus a pure render function, so they can be dragged, bound, themed, and printed like built-in blocks.
- Data autonomy: schema in, JSON out; the SDK itself makes no network calls.
- Versioning and migration: saved templates carry a schema version and migrate forward.
- Secure by design: structured rich text instead of HTML, URL validation, SSRF-protected fetching, and layered feature flags.
- AI template design: add one option and the designer gains an AI panel, where users describe reports in natural language and receive real templates; the model, key, and billing are all provided by the developer, and the SDK does not make its own network requests; results are validated against the schema and block catalog, and if they fail, they are returned to the model for correction, while the user previews and confirms or discards them, entering the same editing path as an undo step; only field names, types, and the design are sent to the model, not data values.
How to use Install command: pnpm add @broadpaper/react @broadpaper/core @broadpaper/blocks @broadpaper/forme. The core packages include @broadpaper/react and @broadpaper/angular (thin wrappers around the same mount API), @broadpaper/forme (a serverless PDF engine in the browser), @broadpaper/server (a PDF backend behind HTTP, with queues, tokens, and a Dockerfile), and BroadPaper.Client (for .NET 8 and .NET 10). A typical flow is about thirty lines: declare a data source with a typed schema, provide sample data, and mount the designer into a div; users drag blocks, bind fields, set conditions, and choose a brand; the saved template is JSON, and the renderer turns the template and live data into a PDF.
Use cases Suitable for SaaS and business applications that need to let users or customers design reports themselves, for example white-label products using one design to serve all customers, multi-tenant layouts, and teams that need to embed a report designer in React, Angular, or .NET applications. The JSON produced by the designer does not depend on the browser; the same template can be rendered in the browser, Node, a rendering service, or a .NET client, and can also be rendered as a read-only web view.
Limitations and pricing Free until release: all features can be used without a key, and PDFs carry an evaluation watermark; a free 60-day key can remove the watermark during evaluation. Specific pricing and commercial licensing terms are not yet provided. AI template design requires developers to provide their own model and key. Support for other platforms and offline capabilities are subject to the official documentation.