Wwordcraft-reactv0.3.6
@gamine/wordcraft-react

Word-grade documents,
in one React component.

storytold’s open-source WordCraft editor, packaged for React: the ribbon, real pages, tracked changes and .docx. Co-editing, AI and version history are one prop each.

Get startednpm i @gamine/wordcraft-react
The editor with the ribbon, rulers and a document
The AI bar with quick actions and the prompt box
Version history: a version shown read only, with Restore
Two people editing one document, each with a cursor

Hover a picture to see more of it. Every feature below has a page with screenshots, a live example and the code.

Everything in the box

What ships today. Features tagged Extra are additions of this package, not part of Microsoft Word or WordCraft.

Drop it in like any editor

It renders on the server as a sized box and starts in the browser, so the App Router needs no dynamic import.

  • Saves reach your app through onSave, including Word-style AutoSave.
  • Your bundler emits the WebAssembly binary and caches it.
  • Kept in step with WordCraft (now eae2421): synced every two hours, released when the tests pass.
'use client';
import { WordcraftEditor } from '@gamine/wordcraft-react';

export default function Brief() {
  return (
    <WordcraftEditor
      user={{ name: 'Wanjiru Kamau' }}
      ai
      versionHistory
      onSave={(file) =>
        fetch('/api/brief', { method: 'PUT', body: file.blob })
      }
    />
  );
}

The Craft packages

Open-source look-alikes of the Office apps, packaged for React. Each follows its upstream project and the same versioning rule.

@gamine/wordcraft-react Available

Packages storytold’s WordCraft, the Microsoft Word look-alike.

@gamine/gridcraft-react Planned

Will package storytold’s GridCraft, the Microsoft Excel look-alike, the same way.

Up next