---json
{
"canonical": ":journey",
"description": "This article shows you how to create a user-journey diagram.",
"name": "User Journey Diagram",
"page_id": "90qnftj73w0kvjkb2vodw",
"title": "How to create a user-journey diagram with ComboStrap"
}
---
====== ComboStrap Diagram - User Journey Diagram ======
===== About =====
The ''journey'' component is a [[diagram|diagram component]] that permits to create a ''user journey diagram''.
===== Example =====
* The markup
```dw
journey
title My working day
section Go to work
Make tea: 5: Me
Go upstairs: 3: Me
Do work: 1: Me, Cat
section Go home
Go downstairs: 5: Me
Sit down: 5: Me
```
* The output:
===== Syntax =====
The syntax is based on the [[https://mermaid-js.github.io/mermaid/#/user-journey|user journey mermaid definition]]
... Mermaid User Journey Diagram definition ...
Mermaid offers a [[https://mermaid-js.github.io/mermaid-live-editor|live editor]] that you can use to validate and develop your diagrams.
This component is based on the [[docs:utility:mermaid|mermaid component]].