All diagram types Open editor

merIDK / Diagram types / User journey map

Mermaid user journey map: example and syntax

User journey maps score each step of a task from a user's point of view, so you can see where the experience is good and where it hurts. Product and UX teams use them to decide what to fix first.

Open this example in the editor

Example code

journey
    title Buying a coffee
    section Order
      Find shop: 4: Me
      Queue: 2: Me
      Order: 5: Me, Barista
    section Drink
      Wait: 3: Me
      Sip: 5: Me

Result

journey
    title Buying a coffee
    section Order
      Find shop: 4: Me
      Queue: 2: Me
      Order: 5: Me, Barista
    section Drink
      Wait: 3: Me
      Sip: 5: Me

Syntax quick reference

How to use it

  1. Open the example in the editor, or paste your own Mermaid code.
  2. Edit the code on the left. The preview updates as you type, and errors point to the line.
  3. Export SVG or PNG, copy a Markdown block for GitHub or Notion, or copy a share link.

More diagram types