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

Write to a file or get the bytes in memory

Components

All components and props