Advertisement
❮ Previous: Mermaid Gantt Charts Next: Mermaid Pie Charts ❯

Mermaid Kanban Boards

Mermaid Native Kanban Boards (kanban) allow you to build agile project boards natively. Introduced in modern versions of Mermaid, this dedicated type structures workflows using clean columns, tasks, and item metadata without needing to hack standard flowchart subgraphs.

Kanban diagrams can represent work items inside documentation.

Typical columns are:


Core Syntax Structure

A Kanban diagram initializes with the kanban keyword. Columns represent the stages of a process, and tasks are defined as child nodes nested under those columns via indentation.

Task Metadata Configurations (@{ ... })

You can enrich individual tasks by adding explicit metadata tags right below the task line using the @{ ... } block parameter.

The parser natively understands these parameters:


Small Kanban Example

kanban
    Todo
        [API Docs]
        [Setup CI/CD]

    In Progress
        [Database Migration] @{assign: "John"}

    Done
        [Auth Module]

Kanban is useful for lightweight issue and task tracking.

❮ Previous: Mermaid Gantt Charts Next: Mermaid Pie Charts ❯
Advertisement