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 todo[To Do]
4 t1[Task 1]
5 t2[Task 2]
6 doing[In Progress]
7 t3[Task 3]
8 done[Done]
9 t4[Task 4]
10```
Result:
kanban
todo[To Do]
t1[Task 1]
t2[Task 2]
doing[In Progress]
t3[Task 3]
done[Done]
t4[Task 4]Examples
Example 1: Development Workflow
1```mermaid
2kanban
3 backlog[Backlog]
4 t1[Design API]
5 t2[Write Tests]
6 doing[In Progress]
7 t3[Implement Feature]
8 t4[Code Review]
9 testing[Testing]
10 t5[Unit Tests]
11 done[Done]
12 t6[Deploy to Prod]
13 t7[Documentation]
14```
Result:
kanban
backlog[Backlog]
t1[Design API]
t2[Write Tests]
doing[In Progress]
t3[Implement Feature]
t4[Code Review]
testing[Testing]
t5[Unit Tests]
done[Done]
t6[Deploy to Prod]
t7[Documentation]Example 2: Bug Tracking (with IDs and metadata)
1```mermaid
2kanban
3 todo[Todo]
4 id1[Create Documentation]
5 docs[Create Blog about the new diagram]
6 doing[In progress]
7 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.]
8 deploy[Ready for deploy]
9 id8[Design grammar]@{ assigned: 'knsv' }
10 test[Ready for test]
11 id4[Create parsing tests]@{ ticket: 2038, assigned: 'K.Sveidqvist', priority: 'High' }
12 id66[last item]@{ priority: 'Very Low', assigned: 'knsv' }
13 done[Done]
14 id5[define getData]
15 id2[Title of diagram is more than 100 chars when user duplicates diagram with 100 char]@{ ticket: 2036, priority: 'Very High'}
16 cnr[Can't reproduce]
17 id3[Weird flickering in Firefox]
18```
Result:
kanban
todo[Todo]
id1[Create Documentation]
docs[Create Blog about the new diagram]
doing[In progress]
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.]
deploy[Ready for deploy]
id8[Design grammar]@{ assigned: 'knsv' }
test[Ready for test]
id4[Create parsing tests]@{ ticket: 2038, assigned: 'K.Sveidqvist', priority: 'High' }
id66[last item]@{ priority: 'Very Low', assigned: 'knsv' }
done[Done]
id5[define getData]
id2[Title of diagram is more than 100 chars when user duplicates diagram with 100 char]@{ ticket: 2036, priority: 'Very High'}
cnr[Can't reproduce]
id3[Weird flickering in Firefox]Notes
- No
titleorsectionkeywords: a column iscolumnId[Column Title] - Tasks are
taskId[Label], indented under their column, with optional@{ ... }metadata - Keep task names concise
Gotchas/Warnings
- ⚠️ Indentation: Tasks must be indented under their column
- ⚠️ Columns: Define a column before its 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