Build a Kanban Board with WIP Limits and Drag-and-Drop in HTML

Get a single-file HTML kanban board with configurable WIP limits, live card counts, drag-and-drop, and keyboard-accessible card movement.

Text prompt for ChatGPT and Claude

The prompt

Prompt
Act as a senior front-end engineer and product designer. Build FlowRail, a single-file HTML kanban board for a small operations team with configurable work-in-progress limits. Load realistic sample tasks across four columns: Backlog, In Progress, Review, and Done, and include a Reset sample button. Enforce these rules: 1. Each column displays a live card count against its WIP limit and shows a clear visual warning badge and border highlight when the count meets or exceeds the limit, while allowing users to adjust each column limit with a number input. 2. Support smooth HTML5 drag-and-drop between columns plus keyboard-accessible card movement using left and right arrow buttons on each card or ArrowLeft and ArrowRight keys when a card is focused. 3. Include an inline add-task bar with title, priority tag, and column selector without using any form element. 4. Use a clean light palette, high-contrast typography, responsive layout from 360px to 1280px without horizontal overflow, and respect prefers-reduced-motion. 5. Keep all state in memory with zero external libraries, zero network calls, and zero browser storage. Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.

Example output

One HTML file. Save it and open it in any browser.Open full screen (opens in a new tab)

Example: FlowRail, a team kanban board with configurable WIP limits and keyboard card movement. Drag any task card between Backlog, In Progress, Review, and Done, or use the left and right buttons (or ArrowLeft/ArrowRight keys) to move focused cards. Adjust any column's WIP limit to trigger live warnings when a lane fills up, add new tasks at the top, or click Reset sample.

Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • Requires both drag-and-drop and keyboard arrow controls so every card is movable on desktop, touch, and screen readers.
  • Keeps all state in memory and bans form tags, ensuring the board runs cleanly inside sandboxed preview frames.
  • Specifies live WIP count badges and warning states so the model builds real operational constraints, not just static columns.

Paste this prompt into ChatGPT, Claude, or Gemini, copy the generated HTML into a .html file, and open it in any browser or preview it directly in Canvas or Artifacts.

Common edits

  • Add localStorage persistence so team tasks and custom WIP limits stay saved across browser refreshes.
  • Add a CSV or JSON export button to download the current board snapshot for weekly standup notes.

Reuse it: Use in a workflowTurn into a skillAdapt in the builder

Mini Apps & Tools

Build a Weekly Staff Shift Rota Builder in HTML

Create an interactive weekly shift rota in one HTML file that totals staff hours, flags overtime, and alerts you to daily coverage gaps.

Mini Apps & Tools

Build a Contractor Quote and Estimate Builder in HTML

A single-file contractor quote builder that separates labour and materials with adjustable markup, tax, deposit calculation, and a clean print view.

Mini Apps & Tools

Build a Distributed Team Time-Zone Meeting Planner in One HTML File

A single-file time-zone meeting planner with a 24-hour overlap grid, fair working-hour highlights, and one-click copy of proposed slots.

Mini Apps & Tools

Build a Unit Economics Calculator for CAC, LTV, and Payback

Create a single-file unit economics calculator with interactive sliders, live CAC and LTV formulas, payback months, and a plain-language health verdict.

Mini Apps & Tools

Build an Email Signature Generator With Three Layouts in HTML

Create a self-contained email signature builder with three switchable layouts, live preview, and inline-styled table HTML ready to copy.

Mini Apps & Tools

Build an OKR Progress Tracker with Confidence Scores in One HTML File

A self-contained HTML OKR tracker with weighted key-result sliders, color-coded confidence badges, and a live overall attainment score.