#132 ui light mobile: native-first Project & Workflow

Kanban with Mobile Quick-Move Sheet

Four-column sprint Kanban with desktop drag-and-drop plus an accessible Quick-Move bottom sheet and column tabs on mobile.

Inspired by Plane ↗

Download .html
Fullscreen ↗

WHY THIS AESTHETIC IS UNIQUE

Solves Kanban's biggest mobile pain point—clumsy cross-column dragging on narrow screens—by pairing single-column tab switching with an explicit one-tap Quick-Move bottom sheet on every card.

BEST FOR

Engineering sprint and issue trackersSales pipelines and deal stage boardsEditorial publishing workflowsHiring and onboarding stage boards

TAGS

COLOR PALETTE (CLICK TO COPY HEX)

TYPOGRAPHY

Display
Inter
Body
Inter
Mono
JetBrains Mono
Scale
14px card titles, 11px mono issue keys, 10px priority pills, 13px column headers with live item counters.

Google Fonts Stylesheet ↗

ARCHITECTURE & MOBILE NOTES

LAYOUT

4 equal CSS Grid columns on desktop; single active column below 920px controlled by horizontally scrollable column count tabs.

INTERACTION

Supports native HTML5 drag-and-drop with drop-target highlighting, priority filtering, new-issue creation modal, and a Quick-Move sheet that transitions cards between lanes.

MOBILE

Eliminates horizontal board overflow on 390px by rendering one lane at a time via top status tabs and making every card's Move button open a 48px-row bottom sheet.

AI AGENT GUARDRAILS

DO

  • Always pair drag-and-drop with an explicit Move button + sheet for touch and keyboard accessibility.
  • Switch multi-column boards to a single-lane tab view below 920px to avoid horizontal viewport scroll.
  • Reflect live item counts in both desktop column headers and mobile tab labels.

DON'T

  • Never make drag-and-drop the only mechanism to change a card's status.
  • Avoid squeezing 4 Kanban columns side-by-side on a 390px mobile screen.
STANDALONE SOURCE · demos/kanban-quick-move.html (14.0 KB)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Multi-Column Kanban with Mobile Quick-Move Sheet — Plane-Inspired</title>
<style>
  :root {
    --canvas: #f4f5f8;
    --surface: #ffffff;
    --col-bg: #ebedf3;
    --border: #dadfe9;
    --ink: #171d29;
    --muted: #5d677b;
    --accent: #4f46e5;
    --accent-soft: rgba(79,70,229,0.12);
    --high: #dc2626;
    --med: #d97706;
    --low: #059669;
    --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, monospace;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { min-height: 100%; background: var(--canvas); color: var(--ink); font-family: var(--font); overflow-x: hidden; }
  .shell { max-width: 1280px; margin: 0 auto; padding: 16px; display: grid; gap: 14px; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
  }
  .brand { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
  .btn {
    min-height: 40px; padding: 0 13px; border-radius: 9px;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--ink); font: 600 13px var(--font); cursor: pointer;
  }
  .btn.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
  .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

  .mobile-tabs {
    display: none;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mobile-tabs::-webkit-scrollbar { display: none; }
  .mob-tab {
    min-height: 44px; padding: 0 14px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--muted); font: 600 13px var(--font); white-space: nowrap; cursor: pointer;
    flex-shrink: 0;
  }
  .mob-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

  .board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }
  .col {
    background: var(--col-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    min-height: 420px;
    transition: background .15s, border-color .15s;
  }
  .col.drag-over { background: #e0e7ff; border-color: var(--accent); }
  .col-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; padding: 2px 4px;
  }
  .col-title { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
  .col-dot { width: 9px; height: 9px; border-radius: 50%; }
  .col-count { font: 700 11px var(--mono); padding: 2px 7px; border-radius: 999px; background: var(--surface); color: var(--muted); }

  .cards { display: grid; gap: 10px; }
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(23,29,41,0.04);
    cursor: grab;
  }
  .card:active { cursor: grabbing; }
  .card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
  .issue-id { font: 600 11px var(--mono); color: var(--muted); }
  .prio { font: 700 10px var(--mono); text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }
  .prio.High { background: #fee2e2; color: var(--high); }
  .prio.Medium { background: #fef3c7; color: var(--med); }
  .prio.Low { background: #d1fae5; color: var(--low); }
  .card-title { font-size: 14px; font-weight: 600; line-height: 1.38; margin-bottom: 10px; }
  .card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .assignee { font-size: 12px; color: var(--muted); }
  .move-btn {
    min-height: 36px; padding: 0 10px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--canvas);
    color: var(--ink); font: 600 12px var(--font); cursor: pointer;
  }
  .move-btn:hover { border-color: var(--accent); color: var(--accent); }

  .sheet-backdrop {
    position: fixed; inset: 0; background: rgba(15,23,42,0.48);
    display: none; align-items: flex-end; justify-content: center;
    padding: 12px; z-index: 60;
  }
  .sheet-backdrop.open { display: flex; }
  .sheet {
    width: 100%; max-width: 440px;
    background: var(--surface);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: grid; gap: 10px;
  }
  .sheet h3 { font-size: 15px; font-weight: 700; }
  .sheet-sub { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
  .sheet-opt {
    min-height: 48px; padding: 0 14px; border-radius: 11px;
    border: 1px solid var(--border); background: var(--canvas);
    color: var(--ink); font: 600 14px var(--font);
    display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  }
  .sheet-opt.current { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .add-form { display: grid; gap: 10px; }
  .add-form input, .add-form select {
    min-height: 44px; padding: 0 12px; border-radius: 9px;
    border: 1px solid var(--border); font: 14px var(--font); color: var(--ink);
  }

  @media (max-width: 920px) {
    .mobile-tabs { display: flex; }
    .board { grid-template-columns: 1fr; }
    .col { display: none; min-height: 360px; }
    .col.mobile-active { display: block; }
  }
</style>
</head>
<body>
<div class="shell">
  <header class="topbar">
    <div class="brand">
      <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#4f46e5" stroke-width="2.2"><rect x="3" y="3" width="7" height="18" rx="2"/><rect x="14" y="3" width="7" height="11" rx="2"/></svg>
      <span>Sprint 14 · Plane-Style Kanban</span>
    </div>
    <div class="filters">
      <button class="btn active" data-prio="all" type="button">All</button>
      <button class="btn" data-prio="High" type="button">High</button>
      <button class="btn" data-prio="Medium" type="button">Medium</button>
      <button class="btn primary" id="openAddBtn" type="button">+ New Issue</button>
    </div>
  </header>

  <nav class="mobile-tabs" id="mobileTabs" aria-label="Kanban columns"></nav>
  <main class="board" id="board" aria-label="Kanban board"></main>
</div>

<div class="sheet-backdrop" id="moveBackdrop" role="dialog" aria-modal="true" aria-label="Move issue">
  <div class="sheet">
    <h3>Quick-Move Issue</h3>
    <div class="sheet-sub" id="moveIssueLabel"></div>
    <div id="moveOptions" style="display:grid;gap:8px;"></div>
    <button class="btn" id="closeMoveBtn" type="button" style="min-height:44px;margin-top:4px;">Cancel</button>
  </div>
</div>

<div class="sheet-backdrop" id="addBackdrop" role="dialog" aria-modal="true" aria-label="Add issue">
  <div class="sheet">
    <h3>Create Sprint Issue</h3>
    <form class="add-form" id="addForm">
      <input id="newTitle" type="text" required placeholder="e.g. Add keyboard focus ring to quick-move sheet">
      <select id="newPrio"><option value="High">High Priority</option><option value="Medium" selected>Medium Priority</option><option value="Low">Low Priority</option></select>
      <select id="newCol"><option value="backlog">Backlog</option><option value="progress">In Progress</option><option value="review">In Review</option><option value="done">Done</option></select>
      <div style="display:flex;gap:8px;">
        <button class="btn primary" type="submit" style="flex:1;min-height:44px;">Add Issue</button>
        <button class="btn" id="closeAddBtn" type="button" style="min-height:44px;">Cancel</button>
      </div>
    </form>
  </div>
</div>

<script>
const COLS = [
  { id: 'backlog', label: 'Backlog', color: '#64748b' },
  { id: 'progress', label: 'In Progress', color: '#4f46e5' },
  { id: 'review', label: 'In Review', color: '#d97706' },
  { id: 'done', label: 'Done', color: '#059669' }
];

const ISSUES = [
  { id: 'PLN-104', col: 'backlog', prio: 'High', title: 'Offline queue for mobile quick-move mutations', owner: 'A. Patel' },
  { id: 'PLN-108', col: 'backlog', prio: 'Low', title: 'Export sprint velocity snapshot as CSV', owner: 'J. Kim' },
  { id: 'PLN-101', col: 'progress', prio: 'High', title: 'Zero-overflow column tab switcher at 390px', owner: 'M. Silva' },
  { id: 'PLN-105', col: 'progress', prio: 'Medium', title: 'Optimistic drag-and-drop card elevation', owner: 'R. Vance' },
  { id: 'PLN-098', col: 'review', prio: 'High', title: 'Audit 44px touch targets on action sheets', owner: 'E. Wu' },
  { id: 'PLN-099', col: 'review', prio: 'Medium', title: 'Keyboard navigation between board lanes', owner: 'A. Patel' },
  { id: 'PLN-092', col: 'done', prio: 'Low', title: 'Standardize priority badge contrast ratios', owner: 'J. Kim' },
  { id: 'PLN-094', col: 'done', prio: 'Medium', title: 'Ship Brotli compression for static bundles', owner: 'M. Silva' }
];

let prioFilter = 'all';
let activeMobileCol = 'progress';
let movingIssueId = null;
let dragId = null;

const board = document.getElementById('board');
const mobileTabs = document.getElementById('mobileTabs');
const moveBackdrop = document.getElementById('moveBackdrop');
const addBackdrop = document.getElementById('addBackdrop');

function render() {
  const filtered = ISSUES.filter(i => prioFilter === 'all' || i.prio === prioFilter);

  mobileTabs.innerHTML = COLS.map(c => {
    const cnt = filtered.filter(i => i.col === c.id).length;
    return `<button type="button" class="mob-tab ${activeMobileCol === c.id ? 'active' : ''}" data-col="${c.id}">${c.label} (${cnt})</button>`;
  }).join('');
  mobileTabs.querySelectorAll('.mob-tab').forEach(btn => {
    btn.addEventListener('click', () => { activeMobileCol = btn.dataset.col; render(); });
  });

  board.innerHTML = COLS.map(col => {
    const items = filtered.filter(i => i.col === col.id);
    return `
      <section class="col ${activeMobileCol === col.id ? 'mobile-active' : ''}" data-col="${col.id}">
        <div class="col-head">
          <span class="col-title"><span class="col-dot" style="background:${col.color}"></span>${col.label}</span>
          <span class="col-count">${items.length}</span>
        </div>
        <div class="cards">
          ${items.map(item => `
            <article class="card" draggable="true" data-id="${item.id}">
              <div class="card-top">
                <span class="issue-id">${item.id}</span>
                <span class="prio ${item.prio}">${item.prio}</span>
              </div>
              <div class="card-title">${item.title}</div>
              <div class="card-foot">
                <span class="assignee">${item.owner}</span>
                <button type="button" class="move-btn" data-move="${item.id}">Move ↕</button>
              </div>
            </article>
          `).join('') || `<div style="padding:20px 8px;text-align:center;font-size:12.5px;color:var(--muted);">Drop a card here</div>`}
        </div>
      </section>
    `;
  }).join('');

  board.querySelectorAll('.card').forEach(el => {
    el.addEventListener('dragstart', () => { dragId = el.dataset.id; el.style.opacity = '0.5'; });
    el.addEventListener('dragend', () => { dragId = null; el.style.opacity = '1'; });
  });

  board.querySelectorAll('.col').forEach(colEl => {
    colEl.addEventListener('dragover', e => { e.preventDefault(); colEl.classList.add('drag-over'); });
    colEl.addEventListener('dragleave', () => colEl.classList.remove('drag-over'));
    colEl.addEventListener('drop', e => {
      e.preventDefault();
      colEl.classList.remove('drag-over');
      if (!dragId) return;
      const item = ISSUES.find(i => i.id === dragId);
      if (item) { item.col = colEl.dataset.col; render(); }
    });
  });

  board.querySelectorAll('[data-move]').forEach(btn => {
    btn.addEventListener('click', () => openMoveSheet(btn.dataset.move));
  });
}

function openMoveSheet(id) {
  movingIssueId = id;
  const issue = ISSUES.find(i => i.id === id);
  if (!issue) return;
  document.getElementById('moveIssueLabel').textContent = `${issue.id} — ${issue.title}`;
  const opts = document.getElementById('moveOptions');
  opts.innerHTML = COLS.map(c => `
    <button type="button" class="sheet-opt ${issue.col === c.id ? 'current' : ''}" data-dest="${c.id}">
      <span>${c.label}</span>
      <span>${issue.col === c.id ? 'Current' : 'Move →'}</span>
    </button>
  `).join('');
  opts.querySelectorAll('.sheet-opt').forEach(btn => {
    btn.addEventListener('click', () => {
      issue.col = btn.dataset.dest;
      activeMobileCol = btn.dataset.dest;
      moveBackdrop.classList.remove('open');
      render();
    });
  });
  moveBackdrop.classList.add('open');
}

document.getElementById('closeMoveBtn').addEventListener('click', () => moveBackdrop.classList.remove('open'));
moveBackdrop.addEventListener('click', e => { if (e.target === moveBackdrop) moveBackdrop.classList.remove('open'); });

document.querySelectorAll('[data-prio]').forEach(btn => {
  btn.addEventListener('click', () => {
    prioFilter = btn.dataset.prio;
    document.querySelectorAll('[data-prio]').forEach(b => b.classList.toggle('active', b === btn));
    render();
  });
});

document.getElementById('openAddBtn').addEventListener('click', () => {
  addBackdrop.classList.add('open');
  document.getElementById('newTitle').focus();
});
document.getElementById('closeAddBtn').addEventListener('click', () => addBackdrop.classList.remove('open'));
addBackdrop.addEventListener('click', e => { if (e.target === addBackdrop) addBackdrop.classList.remove('open'); });

document.getElementById('addForm').addEventListener('submit', e => {
  e.preventDefault();
  const title = document.getElementById('newTitle').value.trim();
  if (!title) return;
  const col = document.getElementById('newCol').value;
  const prio = document.getElementById('newPrio').value;
  ISSUES.unshift({ id: 'PLN-' + (109 + ISSUES.length), col, prio, title, owner: 'You' });
  activeMobileCol = col;
  document.getElementById('newTitle').value = '';
  addBackdrop.classList.remove('open');
  render();
});

render();
</script>
</body>
</html>