> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doczilla.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Reports with Tailwind CSS

> Generate report PDFs with charts using the “htmlTemplate” option.

From contracts and invoices to social media banners,
leverage our the `htmlTemplate` option for swift document generation.
The `htmlTemplate` uses [Handlebars](https://handlebarsjs.com/)
to render your HTML together with the provided `templateData`.
See [Templating](https://docs.doczilla.app/templating/introduction.md) for more info.

## Example

This example generates a report PDF using Tailwind CSS.

<Snippet file="code-group/pdf-html-templates-report.md" />

## HTML

> [accordion] HTML report template using Tailwind CSS
>
> <Snippet file="code-group/pdf-html-templates-report-html.md" />

## Output

[https://assets.doczilla.app/examples/pdf-html-templates-report.pdf](https://assets.doczilla.app/examples/pdf-html-templates-report.pdf)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.