☝️ The screenshot above shows the ReportLayer designer component. The output PDF on the right side is generated entirely in the browser, without a server round-trip. Try out some of the demo templates to see a few of the things you can do with the designer.
For a live demo, open this page in a larger browser window.
Try out the ReportLayer Playground to design, save, and use your own templates for free.
For all the features of ReportLayer including private templates shared with your team, versioning, and much more, create a free ReportLayer account.
ReportLayer generates documents entirely client-side in the browser, so you can output PDFs without sensitive data being sent to any servers.
If you'd rather generate PDFs in the cloud, you can do that too, using our easy API and JavaScript SDK.
You can even run ReportLayer on-premise so you can keep everything inside your building.
The easy-to-use designer component allows your customers to create and tweak their own reports, so your engineers can stay focused on your core business.
You provide sample data, then embed the template designer in your application and your customers can take control of their own reporting needs.
npm install --save reportlayer
import { DownloadLink, DocumentView } from 'reportlayer/react';
class ReportDemo extends React.Component {
render() {
const { templateId, data } = this.props;
return (
<div>
{/* Show a link that downloads the PDF */}
<DownloadLink
templateId={templateId}
apiKey={MY_API_KEY}
data={data}
>
Click here to download your report
</DownloadLink>
{/* Or render the PDF on-screen */}
<DocumentView
templateId={templateId}
apiKey={MY_API_KEY}
data={data}
/>
</div>
);
}
}