Skip to main content

@elabs-ai/components-editor

22 pages

Token-themed Monaco editor: CodeEditor, DiffEditor, CodeWorkspace (file tabs).

pnpm add @elabs-ai/components-editor

Highlights6

A few of the 22 pages here. Open a family below, or in the navigation, to see all of it.

A markdown editing workspace: the editor with its outline, preview and toolbar arranged as one document surface.

9 examples

Multi-file editor shell.

1 example

The Monaco side-by-side diff surface — the only diff in the library that can be typed into.

2 examples

An agent's decision presented as a card in the document — the option taken, the alternatives and the rationale — for the reader to accept or revise.

17 examples

Mermaid source beside its rendered diagram, with the preview updating as the source changes.

1 example

A live calculation block inside markdown: inputs, a formula and its result, recomputed as the inputs change.

8 examples

Browse by family4

  • Code3 pages

    CodeEditor · CodeWorkspace · DiffEditor

  • Markdown9 pages

    Academic · DocumentOutline · Iteration · MarkdownEditor · MarkdownPreview · MarkdownToolbar · MarkdownWorkspace · Prose · SlashMenu

  • AI Content Access · BuilderDialog · CalcBlock · CalcEditor · CalcInline · DecisionCard · MetricBlock · TemplateDialog

  • Diagrams2 pages

    MermaidDiagram · MermaidWorkspace