An LLM reading a DOCX and leaving comments on it, live, in the editor the reader is looking at. Every roast lands as a real Word comment anchored to the exact words it is about, so saving the file carries them into Word.
Examples
Runnable apps in the docx-editor repository. Clone it, then follow the README in the example you want. Descriptions come from release v2.21.0.
This example loads the React editor as an Astro island.
@docx-editor.dev/editor-api drives a document through a batching object model. Nothing here needs a framework, and the server half needs no browser: it opens DOCX bytes, edits them and writes them back.
This example uses y-webrtc to replicate a document between browsers. It has no application server or durable shared storage.
This example connects a React editor to a Hocuspocus collaboration server. Remote carets show each person's name and avatar.
This example stores a custom legal citation as a Word content control. You can insert, edit, and save the citation.
This example uses the packaged <DocxEditor> component without custom composition.
Igloo Editor shows how you can theme and compose the editor.
This App Router example loads the React editor in the browser.
This Remix and Vite example loads the React editor after the route mounts.
This Vite and React app shows the editor composition API with custom chrome.
This app interviews a user, creates a fresh DOCX, and proposes later edits as tracked changes. It keeps examples/agent unchanged.
Convert Word documents to Markdown with individual pages, headers, footers, comments, and tracked changes. The converter runs the DOCX Editor layout engine in your Node.js process, so page boundaries come from the DOCX itself without Word, LibreOffice, a browser, or a Python service.












