Build an Interactive Event Seating Chart Planner in One HTML File
A drag-and-drop and click-to-seat event planner with round and rectangular tables, live seat counters, and automatic conflict flags.
Text prompt for ChatGPT and Claude
You get: one complete HTML file in a single code block, then 3 short ideas to extend it.
The prompt
Act as a senior front-end engineer and UI designer. Build an interactive event seating chart planner called TableCraft Seating Planner in a single self-contained HTML file.
The tool must load with realistic sample data for a fictional gala, including 14 guests, 4 tables (two round and two rectangular), and pre-set keep-apart and keep-together pairs, plus a Reset sample button.
Follow these requirements:
1. Guests can be assigned to tables by dragging and dropping or by clicking a guest to select them and clicking a table, supporting mouse, touch, and keyboard.
2. Each table displays its shape (round or rectangular), capacity, a live seats-remaining counter, and removable guest chips.
3. Automatic conflict detection flags keep-apart pairs at the same table in red and keep-together pairs at the same table in green.
4. Include inline controls without any form element to add a guest, add a table, or add a seating rule, keeping all state in memory only.
5. Use a clean, high-contrast palette, responsive layout for 360px to 1280px viewports, and respect prefers-reduced-motion.
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
- Supports both drag-and-drop and click-to-assign so it works reliably on desktop, touchscreens, and keyboards.
- Pre-loads 14 sample guests, 4 tables, and pairing rules so conflict flags are immediately visible on first load.
- Keeps all state in memory with zero external dependencies, ensuring it runs cleanly inside sandboxed preview frames.
Paste the prompt into ChatGPT, Claude, or Gemini, save the returned code as seating-planner.html, and open it in any browser or preview it in Canvas/Artifacts.
Common edits
- Add localStorage persistence so organizers can save and reload their seating chart in the browser.
- Add a Print / Export CSV button to share final table assignments with catering and venue staff.
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
Design a balanced dinner party seating plan for great conversation
Arrange dinner party seats to balance talkative and quiet guests, prevent cliques, and spark lively discussion. Ideal for hosted dinner parties of 6 to 16 people.
Write polite RSVP follow-up messages for silent guests
Turn your guest list or event details into gentle, clear RSVP nudges that secure final headcounts without awkwardness.
Compare event budget estimates with actual costs
Paste your event budget and current quotes to get a variance table by category, the total amount and percentage you are over or under, and three cuts that recover the gap.
Audit venue and catering contracts for hidden fees
Flag surprise administrative charges, corkage fees, service markups, and attrition penalties before you sign an event agreement.
Build an event budget breakdown with a contingency fund
Answer three questions and get an event budget table split by category and line item with percentages and amounts, a 12-15% contingency line and four hidden costs to ask vendors about.
Build a Tiered Conference Networking Plan From Attendee Lists
Get a three-tier conference networking plan with ranked contacts, tailored conversation openers, session slots, and a post-event follow-up message.
- Holiday Party Games for Mixed Ages With No Drinking
- Plan a Holiday Houseguest Stay: Rooms, Meals, Quiet Time
- White Elephant Gift Ideas Under $25 That Get Stolen
- Assemble a comprehensive wedding and event emergency kit
- Build a workshop facilitator guide and supply checklist
- Coordinate a multi-vendor wedding day master timeline