Mermaid Kanban Boards
Kanban boards visualize work items across different stages. Perfect for project management, task tracking, and workflow visualization.
Use Case
Use Kanban boards when you need to:
- Track project tasks
- Visualize workflow stages
- Manage agile sprints
- Show work in progress
- Document process stages
Code (Basic)
1```mermaid
2kanban
3 title Kanban Board
4 section To Do
5 Task 1
6 Task 2
7 section In Progress
8 Task 3
9 section Done
10 Task 4
11```
Result:
Examples
Example 1: Development Workflow
1```mermaid
2kanban
3 title Development Pipeline
4 section Backlog
5 Design API
6 Write Tests
7 section In Progress
8 Implement Feature
9 Code Review
10 section Testing
11 Unit Tests
12 section Done
13 Deploy to Prod
14 Documentation
15```
Result:
Example 2: Bug Tracking (with IDs and metadata)
1```mermaid
2kanban
3 title Bug Tracking
4 section Todo
5 id1[Create Documentation]
6 docs[Create Blog about the new diagram]
7 section In progress
8 id6[Create renderer so that it works in all cases. We also add some extra text here for testing purposes. And some more just for the extra flare.]
9 section Ready for deploy
10 id8[Design grammar]@{ assigned: 'knsv' }
11 section Ready for test
12 id4[Create parsing tests]@{ ticket: 2038, assigned: 'K.Sveidqvist', priority: 'High' }
13 id66[last item]@{ priority: 'Very Low', assigned: 'knsv' }
14 section Done
15 id5[define getData]
16 id2[Title of diagram is more than 100 chars when user duplicates diagram with 100 char]@{ ticket: 2036, priority: 'Very High'}
17 section Can't reproduce
18 id3[Weird flickering in Firefox]
19```
Result:
Notes
title- Optional board titlesection- Defines a column/stage- Tasks can be plain text or
id[Label]with optional@{ ... }metadata - Keep task names concise
Gotchas/Warnings
- ⚠️ Indentation: Tasks must be indented under their
section - ⚠️ Sections: Must define sections before tasks
- ⚠️ IDs: Use unique IDs when you add metadata (
@{ ... }) - ⚠️ Complexity: Too many tasks can clutter the board
Related Snippets
- Architecture Diagrams (C4 Model)
Create system architecture diagrams using C4 model with Mermaid - Chart.js Bar Chart
Create bar charts for data visualization - Graphviz DOT Diagrams
Create complex graph layouts with Graphviz DOT language - KaTeX Math Examples and Tips
Comprehensive guide to KaTeX math notation with examples and tips - Mermaid Arbitrary Graphs
Create arbitrary graphs and networks with Mermaid - Mermaid Block Diagrams
Create block diagrams for system architecture with Mermaid - Mermaid Charts (Pie, Bar, Line)
Create pie charts, bar charts, and line charts with Mermaid - Mermaid Class Diagrams (UML)
Create UML class diagrams with Mermaid - Mermaid Entity Relationship Diagrams
Create Entity Relationship Diagrams (ERD) with Mermaid - Mermaid Flowchart
Create flowcharts and decision trees with Mermaid - Mermaid Gantt Chart
Create Gantt charts for project timelines and scheduling - Mermaid Git Diagrams
Create Git branch and commit diagrams with Mermaid - Mermaid Mindmaps
Create mindmaps for brainstorming and organizing ideas with Mermaid - Mermaid Packet Diagrams
Create packet diagrams for network protocols with Mermaid - Mermaid Quadrant Charts
Create quadrant charts for prioritization with Mermaid - Mermaid Radar Charts
Create radar charts for multi-dimensional comparisons with Mermaid - Mermaid Requirement Diagrams
Create requirement diagrams for system requirements with Mermaid - Mermaid Sankey Diagrams
Create Sankey diagrams for flow visualization with Mermaid - Mermaid Sequence Diagram
Create sequence diagrams for interactions and API flows - Mermaid State Diagrams
Create state diagrams and state machines with Mermaid - Mermaid Timeline Diagrams
Create timeline diagrams for chronological events with Mermaid - Mermaid Treemap Diagrams
Create treemap diagrams for hierarchical data visualization with Mermaid - Mermaid User Journey Diagrams
Create user journey maps with Mermaid - Mermaid ZenUML Diagrams
Create ZenUML sequence diagrams with Mermaid - P5.js Interactive Visualizations
Create interactive visualizations and animations with P5.js