reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
opt-editor6
Diff Review
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Reviewopt-editor example

Diff Review

Review changes with keyboard-accessible decisions: accept updates the document, reject keeps the original, and reset starts over.

diffreviewai
bun add @reopt-ai/opt-editor

APIs used

EditorcreateEditorStoredefaultCatalogdiffSpecsDetailedEditorSpec

Live preview

Change the width and theme, then interact with the components.

1024px

Document review

2 pending

Review the proposed changes

Accept a suggestion to update the document, or keep the original. This review uses a local fixture.

0 accepted · 0 kept original · 2 pending

Renewal committee memo

The current draft summarizes why the customer expansion is likely to close this quarter.

Next step: align the ROI paragraph with the updated committee recommendation.

Changes to review

Summary

The revised draft ties the expansion directly to the updated ROI evidence and the latest PASS proof.

Next steps

Next step: confirm the finance summary, approve the narrative, and hand the memo to the committee chair.

Install and import

Related docsOpen playground

Install

bun add @reopt-ai/opt-editor

Import

import { Editor, createEditorStore, defaultCatalog, diffSpecsDetailed, type EditorSpec } from "@reopt-ai/opt-editor";

Related Examples

opt-editor

Version History

Examples

Edit a document, undo and redo changes, save in-memory snapshots, preview saved content, and restore any version as one undoable change.

opt-editor

Basic Editor

Examples

Edit headings, paragraphs, and a callout with Editor, defaultCatalog, and an in-memory document store.

opt-editor

Headless Composition

Examples

Compose a custom authoring surface with BlockTree, BlockToolbar, document versions, and working undo/redo controls.

PreviousHeadless CompositionNextStatic Renderer