Mermaid templates

Annotated examples for every major Mermaid diagram type. Open one in the editor and make it yours.

Flowchart

Nodes and arrows for processes, decisions, and logic flows — the most common Mermaid diagram.

View example

Sequence Diagram

Message passing between participants over time — perfect for API flows and protocols.

View example

Class Diagram

UML classes with fields, methods, and relationships — inheritance, composition, and more.

View example

State Diagram

States and transitions for lifecycles and machines — from order status to UI modes.

View example

ER Diagram

Entities, attributes, and cardinality for database schema design.

View example

Gantt Chart

Project timelines with sections, tasks, durations, and dependencies.

View example

Pie Chart

Quick proportional breakdowns with a one-line-per-slice syntax.

View example

Mindmap

Hierarchical idea maps where indentation defines the tree structure.

View example

Timeline

Events grouped by period on a horizontal line - roadmaps, histories and release notes.

View example

C4 Diagram

System context diagrams in the C4 model - people, systems and how they connect.

View example

Git Graph

Branches, commits and merges drawn as a git history - release flows and branching strategies.

View example

User Journey

Steps a person takes to reach a goal, scored by how they feel - for UX reviews and onboarding maps.

View example

Quadrant Chart

Plot items on two axes split into four quadrants - prioritisation and positioning maps.

View example

Sankey Diagram

Flows between nodes drawn as bands whose width shows the amount - budgets, traffic and energy.

View example

XY Chart

Bar and line charts from plain text - trends and comparisons without a spreadsheet.

View example

Block Diagram

Blocks on a grid you control - system overviews where layout matters as much as links.

View example

Architecture Diagram

Cloud and system architecture with services, groups and icons - infrastructure at a glance.

View example

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.