Design a Kanban Project Board
Problem statement
Design a collaborative Kanban board with drag-and-drop ordering, stable rank keys, realtime teammate updates, optimistic moves, virtualization, offline replay, and accessible keyboard reordering.
Asked In
Key Challenges
- ·Drag-and-drop ordering across columns at scale
- ·Realtime updates from teammates without destroying local drag state
- ·Optimistic card moves with conflict-safe ordering keys
- ·Virtualized columns and swimlanes for large boards
- ·Keyboard-accessible drag alternatives and screen-reader announcements
2-Minute Answer — High-Level TL;DR
Read this before your interview
HLD Interview Focus
I would model the board as columns plus normalized cards ordered by stable rank keys. Dragging a card creates a local optimistic move with a new rank between neighbors, then sends an idempotent mutation to the server. Realtime patches update cards and columns, but if a user is actively dragging, conflicting patches are staged until the interaction completes. Large boards use column and card virtualization, and filters are encoded in the URL. The senior concerns are order-key design, conflict reconciliation, permissions, accessibility, and observability for failed moves.
My Approach: Building the Solution
How to think about this problem
I'll start from two people dragging the same card — then design rank keys, optimistic move + rollback, and staging remote patches during local drag.
Why This Approach?
Most candidates make three columns of cards. Strong answers use stable order keys, protect the active drag from remote patches, and reconcile ranks idempotently.
A Kanban board is a shared whiteboard: people can move sticky notes at the same time, so order and conflict rules must be explicit.
Requirements: What Makes a Great Solution?
Clarify scope before designing anything
Requirements Exploration Questions
Ask your interviewer these questions to refine requirements
What board shape is required?
- ·Columns only vs swimlanes
- ·Nested subtasks
- ·WIP limits
- ·Custom statuses
How much data can appear?
- ·Cards per column
- ·Attachments and comments
- ·Archived cards
How collaborative is it?
- ·Realtime multi-user editing
- ·Presence cursors
- ·Audit trail
What actions are in scope?
- ·Move card
- ·Create/edit/delete
- ·Bulk select
- ·Assign labels and owners
What should work offline?
- ·Viewing board
- ·Moving cards
- ·Creating drafts
- ·Conflict handling on reconnect
What accessibility standard matters?
- ·Keyboard reorder controls
- ·Screen-reader move announcements
- ·Reduced motion
Functional Requirements
Must Have — MVP
- ✓Columns with cards and drag-and-drop
- ✓Create/edit cards and update status
- ✓Optimistic card moves with rollback
- ✓Realtime teammate updates
- ✓Filters/search encoded in URL
- ✓Keyboard-accessible move actions
Advanced (If Time Permits)
- +Swimlanes and WIP limits
- +Offline move queue
- +Presence indicators
- +Bulk operations and saved views
Non-Functional Requirements
Performance Targets
- ·Drag feedback at 60fps
- ·Board shell visible under 2s
- ·Move acknowledgement under 500ms p95
- ·Thousands of cards handled with virtualization
Reliability & Consistency
- ·No duplicate cards after realtime replay
- ·Order remains deterministic after concurrent moves
- ·Failed moves roll back with clear explanation
- ·Permission changes remove unavailable actions immediately
Accessibility & Input Support
- ·Keyboard-first flows with visible focus and predictable tab order
- ·Screen-reader announcements for async changes using aria-live where appropriate
- ·Reduced-motion alternatives for animated transitions
- ·Pointer, touch, and keyboard parity for every core action
Security & Privacy
- ·Enforce board and card permissions server-side
- ·Sanitize markdown descriptions and comments
- ·Avoid leaking hidden cards through search/filter counts
Observability
- ·Track Core Web Vitals plus domain-specific interaction latency
- ·Measure API error rate, retry rate, stale-cache usage, and client exceptions
- ·Emit structured events for critical user journeys and abandoned flows
The full solution is part of HelloFrontend Pro
The question above is free to read in full. Upgrade to unlock the interactive workspace and the senior-level walkthrough that go with it.
- Full RADIO-framework walkthrough with architecture diagrams
- Data model, API design, and rendering strategy trade-offs
- Performance, accessibility, and offline sections plus a model answer
Already a member? Log in to open the workspace.