Skip to main content

Claude Prompt to Build a Booking & Appointment System UI

Build a universal booking system: available slots, timezone handling, buffer times, recurring bookings, cancellation policies, and calendar sync.

Vul de plaatshouders in

Edit the values, then copy your finished prompt.

Jouw Prompt
prompt.txt

                                

What this prompt does

This prompt designs a complete booking and appointment scheduling system tailored to your [business_type], from the availability calendar through to the admin schedule view. You describe the booking [complexity] (single vs. multiple service types, multiple providers, session lengths) and the [integrations] you need, and it generates every screen in the flow: calendar, time slot picker, booking form, confirmation, manage-booking, admin view, recurring bookings, and finally [framework] code for the calendar and confirmation flow.

The structure works because it front-loads the logic that quietly breaks real booking systems. It enforces timezone auto-detection and always displays the user's timezone, it hides past dates, and it prevents double-bookings outright. The [slot_duration] variable sets the increment for the time slot picker (30-minute, 60-minute, and so on), while buffer time between appointments is surfaced as a first-class concern rather than an afterthought. Pinning down slot, buffer, and confirmation rules before any code is written is exactly what keeps the implementation from becoming a tangle of edge cases.

When to use it

  • You are building a consulting, clinic, salon, or services site that takes appointments
  • You need timezone handling done right for clients booking across regions
  • You want buffer times and double-booking prevention designed before you touch React
  • You need calendar invite generation for Google, Apple, and Outlook
  • You support recurring bookings (weekly, biweekly, monthly) with individual cancellation
  • You need an admin view for managing daily schedules and blocking time off

Example output

You get a screen-by-screen specification for the eight components, each describing layout, states, and the rules behind it (available slots in green, unavailable in gray, the selected slot in your brand accent). The final section returns [framework] code for the availability calendar wired to the time slot picker and a working confirmation flow, including calendar-add buttons for the major providers.

Pro tips

  • Describe [complexity] concretely ("3 providers, 30/60/90 min sessions") so the slot logic matches reality
  • List only the [integrations] you will actually wire up; each one the AI designs for adds surface area
  • Set [slot_duration] to your real increment so buffer math and the picker grid line up
  • Name your [framework] and date library explicitly (React + date-fns) so the generated code is usable as-is
  • Ask for the double-booking guard logic to be spelled out server-side; the UI alone cannot prevent races
  • Treat the timezone display as non-negotiable and verify it against a user in another region before launch

Frequently Asked Questions

Does this prompt handle timezones correctly?
Yes, timezone handling is a core design rule. It auto-detects the visitor's timezone and always displays times in that timezone, which is the single most common source of booking errors. You should still test with a user in a different region to confirm.
Can it prevent double-bookings?
The design explicitly forbids double-bookings and includes an admin overbooking-prevention view. Note that real prevention requires server-side locking, so ask for that logic to be specified rather than relying on the UI alone to enforce it.
Does it support recurring appointments?
Yes. The recurring bookings component covers weekly, biweekly, and monthly repeats with an end date and the ability to cancel individual instances without affecting the rest of the series.
What framework does the generated code use?
Whatever you set in the `[framework]` variable. The default is React with date-fns and Tailwind CSS, but you can specify another stack and the AI will adapt the calendar and confirmation flow code accordingly.
Will it generate calendar invites?
Yes, the confirmation screen includes calendar-add buttons for Google, Apple, and Outlook, plus an email confirmation. The exact invite generation depends on the integrations you list in the `[integrations]` variable.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

Meer in Services & Booking UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support