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
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
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
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
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.
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.
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.
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.
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.
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.
- Build a Freelance Project Scope and Rate Estimator in One HTML File
- Build a SaaS Pricing and Annual-Discount ROI Calculator in One HTML File
- Build a Startup Runway and Burn Rate Calculator in One HTML File
- Build a BMI and Daily Calorie Calculator with Metric and Imperial Units in HTML
- Build a Countdown Timer to Any Date With a Confetti Finish in One HTML File
- Build a HIIT and Tabata Interval Workout Timer in a Single HTML File