Introduction

Quick Start

Edit a document, build a page snapshot, and inspect the analysis.

Typseo separates writing from analysis. Keep the editor responsive, then analyze a reader-visible snapshot when its content changes.

'use client';

import { TypseoEditor } from '@typseo/ui';

export function ArticleEditor() {
  return (
    <TypseoEditor
      defaultValue="<p>Start writing</p>"
      ariaLabel="Article body"
      onChange={(html) => console.log(html)}
    />
  );
}

title means the actual page title, not the first H1. bodyText includes all reader-visible body text, including headings, with block boundaries preserved. Do not pass HTML as plain text. For the real Tiptap-to-snapshot adapter, inspect the Playground.

Next steps

Read Architecture, then use Components if you want optional UI rather than a headless integration.

On this page