Office documents, in your app.

Tumbler gives you TypeScript models and Svelte components for reading, rendering, and editing Word documents, spreadsheets, and PowerPoint presentations.

Early alpha. APIs are still changing and Office compatibility is incomplete. Keep original copies of important documents.

Release 0.1.0-alpha.26 adds Word styles, lists, links, paragraph formatting, explicit breaks, and editable shapes. Explore the Word guides for examples.

Start with a document

Install the components alongside the document formats you need.

Terminal
bun add @tumblerjs/svelte @tumblerjs/word @tumblerjs/sheets @tumblerjs/slides

The installation guide walks through a complete file viewer. To inspect rendering first, open a sample in the playground.

Choose a format

Keep control of your application

The format packages work without Svelte. The components render those models and emit edit events, leaving file storage, permissions, and the surrounding UI to you.

TypeScript
import { openSpreadsheetArtifact } from '@tumblerjs/sheets';

const workbook = openSpreadsheetArtifact(bytes);
const edited = workbook.editCell('B2', 42);

const output = edited.bytes();

Read how the packages fit together, or check the current limitations before integrating.

Next Installation