Unsaved
Ready
Loading Monaco Editor...
Preview
Styling
All Project Management templates

Agile Sprint Board — Mermaid Kanban Diagram

Kanban board showing an agile sprint with backlog, in-progress, review, and done columns.

What this diagram shows

This Mermaid kanban is one sprint. Backlog holds user search, CSV export, and onboarding copy, tagged High, Medium, and Low. In Progress has the notification system assigned to Alice and API rate limiting assigned to Bob. Code Review has the auth middleware refactor and list pagination. QA Testing has payment webhooks assigned to Diana. Done lists the CI pipeline, a database index, and the login redirect bug, with no assignee metadata because the work is finished.

Use it in a sprint review when you want the board in version control next to the code, not only in a hosted tracker. The columns are the workflow. Priority metadata is only on the backlog, and assigned metadata is on the active columns. That split is a hint: unstarted work is prioritized, started work is owned. You can put both keys on one card.

Cards need stable ids (id1, id4). The text in brackets is the title. The @{ } block is metadata Mermaid's kanban diagram knows how to show.

Mermaid syntax in this template

The file starts with kanban. Each column is a bare line. Cards are indented under the column. Metadata is optional.

  • kanban

    The diagram type. Do not wrap this in a flowchart. Columns are not nodes.

  • id4[Build notification system]@{ assigned: "Alice" }

    id4 is the card id, the brackets are the title, and assigned is metadata. Quote the value.

  • @{ priority: "High" }

    priority is the other metadata key used here. It is only applied to backlog cards in the template.

  • Done

    A column with cards that have no metadata block. id9, id10, and id11 are still required.

Variations and ways to customize it

Add a blocked column

Insert Blocked between In Progress and Code Review. Move a card by cutting its line into the new column. The id stays the same so a later diff shows a move rather than a new card.

Blocked
    id5[API rate limiting]@{ assigned: "Bob", priority: "High" }

Put priority on in-progress work

Metadata keys can combine. A card can be assigned and still carry priority if the standup cares about both.

id4[Build notification system]@{ assigned: "Alice", priority: "High" }

Split Done by sprint

A single Done column grows forever. Rename it Done this sprint and start a fresh board each sprint, or the diagram stops being a sprint and becomes a backlog archive.

Diagram type

Kanban Board

Tags

kanbansprintagilescrumboard
Open in Editor

Frequently asked questions

How do I move a card to another column?

Cut the card line, including its id, and paste it under the new column. Keep the id. Changing the id looks like the old card was deleted and a new one was created.

What metadata can a Mermaid kanban card have?

This template uses assigned and priority inside @{ }. Quote the values. You can set both on one card. Cards in Done omit the block entirely.

Why do backlog cards have priority but no owner?

The template treats unstarted work as prioritized and started work as assigned. Add assigned to a backlog card if your sprint planning already names the owner.

Can I show WIP limits on a column?

Not as a Mermaid property. Put the limit in the column title, for example In Progress (max 2). The diagram will not stop you from adding a third card.

Related templates and guides

All Project Management templates