Unsaved
Ready
Loading Monaco Editor...
Preview
Styling
All diagram types

Mermaid Kanban Board Syntax & Column Examples

A Kanban diagram is a board: columns are stages, and indented lines under a column are the cards in that stage.

Examples

Copy an example, or open it in the live editor with this diagram already loaded.

Four-column delivery board

Column names sit at the base indent. Cards are indented under the column they belong to.

kanban
    Todo
        Design the empty state
        Write the export notes
    Doing
        Sequence diagram page
    Review
        ER import copy
    Done
        Timeline examples

Editorial board

The column names can match the real workflow. A column with one card is still a column.

kanban
    Ideas
        Quadrant chart post
        Packet diagram post
    Drafting
        Gantt tutorial
    Editing
        Class diagram guide
    Published
        Flowchart syntax

Incident board

A short board for a write-up. Keep card text to one line so the columns stay even.

kanban
    Reported
        Export timeout
    Investigating
        Worker logs
    Mitigated
        Retry cap
    Closed
        Add a test

What is a Kanban Board?

A Mermaid kanban diagram draws a board from an outline. A line at the base indent is a column. An indented line under it is a card. The diagram is a snapshot you can commit next to a design note. It does not sync with Jira or GitHub Projects, and cards do not move on their own. Use it to show a workflow's stages. Use a Gantt chart when the same work needs dates.

When to use it

Use a kanban diagram to explain a workflow or to illustrate a status in a document. Use a flowchart when you need decisions between the stages. Use a Gantt chart when the plan is a calendar.

Edit this kanban board in the live editor, read the Mermaid cheat sheet, or compare it with Gantt Chart, Flowchart and Timeline Diagram.

Common Use Cases

  • •Agile project management - Track sprint tasks across workflow stages
  • •Software development - Manage features from backlog to deployment
  • •Team workflows - Visualize who's working on what
  • •Personal productivity - Organize tasks by status
  • •Process management - Show work items flowing through stages

Syntax Quick Reference

ElementSyntaxDescription
ColumnColumn NameDefine a workflow stage
Task Task nameAdd a card to the column (indented)
Multiple tasksOne per lineEach indented line is a card

Syntax tips

  • •The first line is kanban. Everything after that is columns and cards.
  • •A column is a less-indented line. Cards are indented beneath it, one card per line.
  • •Use spaces for the indent, and keep that indent consistent. A card that lines up with the column becomes a new column.
  • •Column order is left to right in the order you write them.
  • •This picture is static. Update the text to move a card; nothing is dragged.

Common mistakes

Indenting a column name, so it becomes a card of the previous column.

Column names share one indent. Only cards are indented further.

Writing a long paragraph as a card.

Keep each card to a short label. The board is a snapshot, not the ticket body.

Expecting the diagram to update a real board.

Mermaid draws the text you wrote. It is not connected to an issue tracker.

Export Options

Boards in a status doc export well as PNG or PDF. SVG is better if the page will be zoomed. Free PNG exports include a watermark.

Got Mermaid code from ChatGPT? Paste it here to render and export instantly.

Get the Free Mermaid Syntax Cheat Sheet

Free Mermaid Syntax Cheat Sheet

All 21 diagram types in one PDF reference.

Frequently Asked Questions

Ready to create your own kanban board?

Open the editor with this example pre-loaded and start customizing.

Kanban Board templates

Related Diagram Types

All diagram types