Restaurant Reservation

Tonight's tables

Reserve your table

Pick a date, choose a time, and we'll hold your table for 15 minutes after check-in.

La Maison Dorée

French Fine Dining

24 Rue de Rivoli, Paris

4.8
Guests
2
Date
Time
Seating
Special Requests
2 guestsSep 20indoor
About this block

Restaurant ReservationPRO

Restaurant table reservation with guest count selector, date/time picker, seating preference (indoor/outdoor/bar), special requests textarea, and booking summary. Fine dining reservation flow.

Booking6: Restaurant Reservation

A single-card restaurant reservation flow: a header with restaurant name, cuisine, location, and rating badge sits above a stepper guest counter, a 7-day horizontal date strip, a 4-column time-slot grid that greys out blocked slots, an optional seating-preference row (indoor/outdoor/bar), a special-requests textarea, and a sticky footer that summarizes the current pick behind a disabled-until-time "Reserve Table" button.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/booking6?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/booking6?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/booking6.tsx, plus the badge and button shadcn/ui primitives it uses for the rating/large-party badges and the reserve button.

Quick start

The installed file exports booking6Demo alongside the block: the exact props behind the preview above. Spread it to get a working reservation card in one line.

tsx
import { Booking6, booking6Demo } from "@/components/beste/block/booking6";

export default function ReservationPage() {
  return <Booking6 {...booking6Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Sofa, TreePine, Wine } from "lucide-react";
import { Booking6 } from "@/components/beste/block/booking6";

export default function ReservationPage() {
  return (
    <Booking6
      badge={{ label: "Tonight's tables", variant: "secondary" }}
      heading="Reserve your <strong>table</strong>"
      restaurantName="La Maison Dorée"
      cuisine="French Fine Dining"
      rating={4.8}
      location="24 Rue de Rivoli, Paris"
      timeSlots={["18:00", "18:30", "19:00", "19:30", "20:00"]}
      unavailableSlotsByDate={{ "2026-04-14": ["19:30", "21:00"] }}
      seatingOptions={[
        { value: "indoor", label: "Indoor", icon: Sofa },
        { value: "outdoor", label: "Outdoor", icon: TreePine },
        { value: "bar", label: "Bar", icon: Wine },
      ]}
      labels={{ guestsLabel: "Guests", reserveButton: "Reserve Table" }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional eyebrow badge above the heading
headingstringSection heading, supports inline <strong>
descriptionstringSub-heading paragraph under the heading
restaurantNamestringName shown in the card header next to the utensils icon
cuisinestringCuisine line under the restaurant name
ratingnumberStar rating badge in the header; hidden when null/omitted
locationstringAddress line with a pin icon in the header
timeSlotsstring[][]Slot labels rendered in the 4-column time grid
unavailableDatesstring[][]ISO date keys (YYYY-MM-DD) that disable a date in the strip
unavailableSlotsByDateRecord<string, string[]>{}Per-date map of blocked slot labels
seatingOptionsSeatingOption[][]Seating buttons; whole section hidden when empty
labelsBooking6Labels{}All static text: section labels, placeholders, guest nouns, button copy
classNamestringExtra classes for the outer <section>
ts
type SeatingOption = {
  value: string;
  label: string;
  icon: LucideIcon;
};

type Booking6Labels = {
  guestsLabel?: string;
  dateLabel?: string;
  timeLabel?: string;
  seatingLabel?: string;
  requestsLabel?: string;
  requestsPlaceholder?: string;
  todayLabel?: string;
  guestSingular?: string;
  guestPlural?: string;
  largePartyBadge?: string;
  reserveButton?: string;
};

Behavior notes

  • The date strip is not driven by props: it always renders the next 7 days computed from new Date() at render time, with index 0 labelled by todayLabel; unavailableDates and unavailableSlotsByDate are matched against the derived YYYY-MM-DD keys, so hardcoded ISO dates only align with slots when they happen to fall within that 7-day window.
  • All selection is held in internal useState (guests, selectedDateIndex, selectedTime, seating, specialRequest) and never lifted out; there is no onChange or onReserve callback, so the current picks are not observable from the parent.
  • The guest stepper is clamped to a range of 1 through 12, and the largePartyBadge only appears once guests is 6 or more (and the label is provided).
  • Selecting a different date resets selectedTime back to null, so a previously chosen time is cleared whenever the date changes.
  • Time slots listed in unavailableSlotsByDate for the active date are disabled and rendered with a line-through; the selected date's blocked set is recomputed each render from unavailableSlotsByDate[selectedDate.key].
  • The seating grid picks its column count from the option count (grid-cols-2/3/4 for 2, 3, or 4 options); other counts fall back to the base single-column grid, and seating defaults to the first option's value.
  • heading is injected via dangerouslySetInnerHTML so inline <strong> renders as bold primary-colored text; pass only trusted markup.
  • The "Reserve Table" button stays disabled until a time is selected; clicking it only runs console.log("Reservation:", { ... }), so persisting the reservation is left to the integrator.

Wiring the form up

This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.

More Booking blocks

View all Booking
PRO

booking7

Hotel Room Booking

Hotel room selection with room type cards showing images, amenity icons, guest capacity, price per night, check-in/check-out date picker, guest counter, and total price summary.

PRO

booking9

Event Ticket Booking

Event ticket selection with event banner, date/venue info, ticket tier cards (General/VIP/Backstage) with perks list, quantity selector, and order total. Concert and conference ticket flow.

PRO

booking10

Meeting Room Booking

Coworking meeting room reservation with room cards showing capacity, equipment icons, hourly pricing, time range selector, attendee count, and total cost. Office and coworking space booking flow.

PRO

booking1

Date & Time Picker

Split-panel booking interface with interactive monthly calendar on the left and time slot grid on the right. Features today highlight, disabled dates, selected state, morning/afternoon grouping, and booking summary footer.

PRO

booking33

Session Picker

A booking chooser: a serif heading that settles in word by word and an intro, then a ruled list of session types on the left that swaps, with a soft blur, the muted detail card on the right showing a serif title, a description, a fact row and a sliding-marker pill.

PRO

booking19

Multi-step Booking Wizard

Stepper-based booking flow with numbered progress dots, animated progress bar, and four steps: service selection, schedule, contact details, and review. Back/Next navigation, per-step validation, and a live summary.