Demo Booking Page React template for Tailwind CSS v4
v1.1.0Updated in 1.9.0
A React book-a-demo page template with the agenda, host and logos beside a three step booking.
The left column says what the 30 minute call covers (an agenda with minutes per part), who hosts it (Ava Thompson), a customer quote and the wordmarks of teams that booked. The booking card on the right walks through three steps shown by a stepper (a compact Step 1 of 3 header on phones): pick a day in the calendar, which opens on the first day with an open time and says how many times it has, with a Book <first time> shortcut straight to the details (weekends, past days, days past the booking window and days with no open time in your zone are disabled), then a time from Morning, Afternoon and Evening groups. Both steps list times in your time zone, detected from the browser and changeable in a searchable select (a bottom sheet on phones); the list is worked out from the host's New York hours, so a Berlin visitor sees afternoon and evening times. Then name, work email (free mail domains are refused, checked when you leave the field), company size and optional notes with a counter. Continue checks each step, errors show in place and focus moves to the first problem or to the new step's heading; Back and the completed steps in the stepper go back without losing anything. On phones the Back / Continue bar stays pinned to the bottom of the screen. Confirm booking spins while onSubmit runs, then the card shows You're booked with the day, the time range and zone, the length, the host and a copyable meeting link, buttons that add the call to Google Calendar, Outlook or download an .ics file, and Reschedule, which goes back to the times with the details kept and confirms as New time confirmed. A FAQ follows. The heading, card and details rise in once on mount; reduced motion keeps them still.
Demo Booking Page is a Pro React template in the React website templates category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add demo-booking-page, together with Marketing Section, Marketing Header, Marketing Footer, FAQ Section, Logo Cloud and 13 more and the npm packages motion and lucide-react.
Built with
The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.
Add to a project
Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup
npx wingo-ui@latest add demo-booking-pageDemo Booking Page is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans
Usage
Import DemoBookingPage from @/components/templates/demo-booking-page.
// app/(marketing)/demo/page.tsx
"use client"
import Link from "next/link"
import { DemoBookingPage } from "@/components/templates/demo-booking-page"
export default function DemoRoute() {
return (
<DemoBookingPage
linkComponent={Link}
onSubmit={async (values) => {
const response = await fetch("/api/demo-bookings", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
...values,
start: values.start.toISOString(),
end: values.end.toISOString(),
}),
})
if (!response.ok) throw new Error("Could not book")
}}
/>
)
}Props
designdefault"classic""classic" | "minimal"The whole page's look. classic: a glow, the booking card and host on raised cards, the agenda on a soft tile and the FAQ on a band; minimal: a transparent header, a soft wash instead of the glow, an outlined flat booking card, the agenda and host right on the page, a borderless FAQ without the band and a simple footer. headerProps and footerProps still win.
backgrounddefault"glow""plain" | "soft" | "glow" | "aurora" | "grid" | "dots"The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one.
backgroundColordefault"oklch(0.62 0.14 275)"stringThe tint and glow color of the main background. Without one, a non-neutral tone tints the page.
bandBackgrounddefault"muted""muted" | "tinted" | "gradient" | "dots"The secondary background of the alternating bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color.
bandColordefault"oklch(0.62 0.14 275)"stringThe tint of tinted and gradient bands; defaults to backgroundColor.
agendadefault"DEMO_BOOKING_AGENDA"DemoBookingAgendaItem[]{ title, description?, minutes?, icon? }: what the call covers, in order.
factsdefault"DEMO_BOOKING_FACTS"DemoBookingFact[]{ label, icon? } short facts after the length and the video call (from meetingUrl): guests, live questions.
hostdefault"DEMO_BOOKING_HOST"DemoBookingHost{ name, role, bio?, avatarSrc? }: who runs the call; initials without a portrait.
hoursdefault"DEMO_BOOKING_HOURS"DemoBookingHours{ timeZone, days, start, end }: when the host takes calls, in the host's zone (weekdays 9 to 5 in New York). Some slots are already taken, picked from the time itself so they stay stable.
timeZonesdefault"DEMO_BOOKING_TIME_ZONES"DemoBookingTimeZone[]{ value, label, keywords? } zones of the time zone select; the visitor's own zone is added when it is missing.
companySizesdefault"DEMO_BOOKING_COMPANY_SIZES"DemoBookingSizeOption[]{ value, label } options of the required company size select; an empty array hides it.
quotedefault"DEMO_BOOKING_QUOTE"DemoBookingQuote | null{ quote, name, role }: one customer quote under the host.
faqdefault"DEMO_BOOKING_FAQ"FaqItem[]Questions of the FAQ (FaqSection items).
logosdefault"DEMO_BOOKING_LOGOS"LogoCloudItem[]Customer wordmarks in the left column.
labelsdefault"DEFAULT_DEMO_BOOKING_PAGE_LABELS"Partial<DemoBookingPageLabels>Every visible string, including the validation messages and the calendar event text.
durationdefault30numberThe call length in minutes: the facts, the description, the end time and the calendar event.
intervaldefault30numberMinutes between start times.
daysAheaddefault42numberHow many days ahead can be booked; said in the date step.
leadHoursdefault4numberMinimum notice: no slot starts sooner than this from now; said in the date step.
defaultTimeZonedefault""stringThe visitor's time zone on load; "" uses the browser's (the host's zone until the page has loaded).
hourCycledefault"auto""auto" | "12h" | "24h"2:30 PM or 14:30; auto follows the locale.
requireWorkEmaildefaulttruebooleanRejects free mail domains like gmail.com or outlook.com; the field and the note under the card say work email.
meetingUrldefault"https://meet.acme.com/ava-thompson"stringThe video call link: its host in the facts, the link on the confirmation and in the calendar event.
privacyHrefdefault"/legal/privacy"stringThe privacy policy link under the booking card.
docsHrefdefault"/docs"stringThe docs link in the FAQ description and on the confirmation.
onSubmit(values: DemoBookingValues) => (void | Promise<unknown>)Books { start, end, timeZone, name, email, companySize, notes, rescheduled }; a promise keeps the button loading, a rejection shows labels.failed. Without it the page waits 900 ms and confirms.
onStepChange(step: "date" | "time" | "details") => voidRuns when the booking moves to another step (analytics).
tonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"The selected day and time, the stepper and the glow behind the heading.
ctaTonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"Continue and Confirm booking; brand is the marketing orange.
radiusdefault"md""none" | "sm" | "md" | "lg" | "full"Corners of the fields and the time slots.
stepsVariantdefault"circles""circles" | "bars"The stepper above the steps: numbered circles or bars.
showAgendadefaulttruebooleanWhat you'll see, with minutes per part.
showHostdefaulttruebooleanThe card with the demo host's photo, name and role.
showQuotedefaulttruebooleanThe customer quote.
showLogosdefaulttruebooleanThe customer wordmarks.
showFaqdefaulttruebooleanThe FAQ under the booking.
headerdefaulttruebooleanThe marketing header; off inside a site layout.
footerdefaulttruebooleanThe marketing footer.
headerPropsPartial<MarketingHeaderProps>Passed to MarketingHeader.
footerPropsPartial<MarketingFooterProps>Passed to MarketingFooter.
animateIndefaulttruebooleanThe heading, booking card and details rise in once on mount; off in thumbnails and under reduced motion.
localedefault"en-US"stringIntl locale for the calendar, the days and the times (Thursday, October 15 or Donnerstag, 15. Oktober).
linkComponentdefault"<a>"(props: LinkComponentProps) => ReactNodeThe router link for the header, footer and inner links (next/link in an app).
classNamestringClasses for the root.
classNamesPartial<Record<DemoBookingPageSlot, string>>Classes for header, hero, intro, info, facts, agenda, host, quote, logos, booking, steps, calendar, slots, form, success, faq and footer.
Parts
getDemoBookingSlots
functiongetDemoBookingSlots(day, { hours, timeZone, duration, interval, notBefore?, hideTaken? }): the open start times on a "YYYY-MM-DD" day of the visitor's zone, from the host's hours.
DEMO_BOOKING_PAGE_SAMPLE
constantAll the sample content: agenda, facts, host, hours, timeZones, companySizes, quote, faq and logos.
DEMO_BOOKING_AGENDA
constantPlanning, docs, automations, then insights and questions, 30 minutes in all.
DEMO_BOOKING_FACTS
constantUp to 5 teammates, questions answered live.
DEMO_BOOKING_HOST
constantAva Thompson from customer success.
DEMO_BOOKING_HOURS
constantMonday to Friday, 9 AM to 5 PM in New York.
DEMO_BOOKING_TIME_ZONES
constant13 zones from Los Angeles to Sydney with search keywords.
DEMO_BOOKING_COMPANY_SIZES
constantFive company size ranges.
DEMO_BOOKING_QUOTE
constantA quote from Northwind's head of operations.
DEMO_BOOKING_FAQ
constantFour questions people ask before they book.
DEMO_BOOKING_LOGOS
constantSix customer wordmarks from LOGO_CLOUD_SAMPLE.
DEFAULT_DEMO_BOOKING_PAGE_LABELS
constantThe English strings.
DEMO_BOOKING_PAGE_DESIGNS
constantThe design names, classic first: ["classic", "minimal"].
DemoBookingPageDesign
type"classic" | "minimal".
DemoBookingPageProps
typeProps of DemoBookingPage.
DemoBookingValues
type{ start, end, timeZone, name, email, companySize, notes, rescheduled }: what onSubmit receives.
DemoBookingHours
typeThe host's weekly hours in their time zone.
DemoBookingAgendaItem
typeOne part of the call.
DemoBookingStep
type"date" | "time" | "details": what onStepChange receives.
DemoBookingHourCycle
type"auto" | "12h" | "24h".
DemoBookingStepsVariant
typeThe booking progress style: "circles" (numbered dots) or "bars".
DemoBookingPageLabels
typeEvery visible string; some are functions of the length, the step or the host.
DemoBookingPageSlot
typeThe keys of classNames.
DemoBookingFact
type{ label, icon? }: one fact next to the length.
DemoBookingHost
type{ name, role, bio?, avatarSrc? }.
DemoBookingTimeZone
type{ value, label, keywords? }: one entry of the time zone select.
DemoBookingSizeOption
type{ value, label }: one company size.
DemoBookingQuote
type{ quote, name, role }.
Examples
Minimal design
design="minimal": a transparent header, no glow, an outlined flat booking card with the agenda and host right on the page, and a simple footer.
Brand, 45 minutes from Berlin
tone and ctaTone brand, a 45 minute call every 15 minutes, a 24 hour clock and the visitor in Berlin: the New York hours show as afternoon and evening times.
Inside a site layout
No header, footer, quote or FAQ; bars for the stepper and pill-shaped fields and slots.
When booking fails
onSubmit rejects: after the spinner the details stay and the error shows above the actions.
Dependencies
Files
- components/templates/demo-booking-page.tsx
- components/templates/demo-booking-page-data.ts
FAQ
Is the React Demo Booking Page template free?
The preview, props and docs are free; copying the source needs a Pro plan. See plans.
How do I install Demo Booking Page?
Run npx wingo-ui@latest add demo-booking-page. It also adds the Wingo UI items it builds on (Marketing Section, Marketing Header, Marketing Footer, FAQ Section, Logo Cloud and 13 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/demo-booking-page.
How does Demo Booking Page behave on phones?
The booking card on the right walks through three steps shown by a stepper (a compact Step 1 of 3 header on phones): pick a day in the calendar, which opens on the first day with an open time and says how many times it has, with a Book <first time> shortcut straight to the details (weekends, past days.
See also
Related guides
- React Appointment Booking That Gets Time Zones Right
Build it: screens and apps9 min read
New components by email
New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.