The Mermaid component renders Mermaid diagrams in the browser using
client-side rendering.
Build-Time Alternative
For static diagrams, consider build-time rendering with rehype-mermaid.
Prerequisites
Install the mermaid peer dependency:
Code
Import
Code
Props
Code
Usage
Basic Usage
Code
With Configuration
Code
Last modified on