Skip to main content

Create a project

Generate a document

Opens output.docx.

Project structure

src/document.tsx is your document:
Every document needs a Document root and at least one Section.

Styling

Tailwind classes work:

Tables


Images

Supports in, cm, mm, pt, px.

Next

Tailwind

Supported classes and custom config

Rendering

Output to file, buffer, or stream

Components

All components and props