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 exampleSequence Diagram
Message passing between participants over time — perfect for API flows and protocols.
View exampleClass Diagram
UML classes with fields, methods, and relationships — inheritance, composition, and more.
View exampleState Diagram
States and transitions for lifecycles and machines — from order status to UI modes.
View exampleER Diagram
Entities, attributes, and cardinality for database schema design.
View exampleGantt Chart
Project timelines with sections, tasks, durations, and dependencies.
View examplePie Chart
Quick proportional breakdowns with a one-line-per-slice syntax.
View exampleMindmap
Hierarchical idea maps where indentation defines the tree structure.
View example