CSS-like Styling
Write `fontSize`, `color`, `margin`, `border`, and reusable class-based styles the way frontend engineers already think about layout and typography.
Type-safe, plugin-extensible Word document generation for Node.js & browser
Write `fontSize`, `color`, `margin`, `border`, and reusable class-based styles the way frontend engineers already think about layout and typography.
Chain `.h1()`, `.p()`, `.table()`, `.image()`, `.section()` and `.plugin()` calls to build documents incrementally with strong type inference.
Built-in plugins cover badges, barcodes, callouts, code blocks, cover pages, invoices, QR codes, timelines, TOCs, and more.
The workspace now includes runtime, renderer, shared types, plugin tooling, presets, themes, AI templates, and MCP integration with package-level documentation.
Use `renderDocx()` and schema-friendly document nodes for API-driven or AI-generated document pipelines.
Generate reports, invoices, resumes, and letters with `@docxkit/ai`, or expose the whole system to agent runtimes through `@docxkit/mcp`.
`@docxkit/renderer` lets you preview generated `.docx` files directly in web apps with DOM or Office Online rendering strategies.
The documentation site now ships with English, Simplified Chinese, and Traditional Chinese locale routing using VitePress locale best practices.
Public APIs are strongly typed, packages are covered by tests, and plugins remain isolated through explicit registration and package boundaries.