ZUI

Search documentation

Find a page or a heading.

Mermaid Editor

A standalone Mermaid editor with a source pane beside the drawn diagram, with a template menu and export.

tsx

Installation

bash

Usage

tsx
tsx

It is controlled when given value, and starts from defaultValue otherwise. DiagramViewer, in viewer.tsx, draws a stored diagram without the editing pane.

API reference

MermaidEditor

With layout="auto" the source and the diagram sit side by side on a wide viewport and in tabs on a narrow one.