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.
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.
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.
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
npx shadcn add "https://ui.beste.co/r/booking6?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
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.
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.
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:
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" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Optional eyebrow badge above the heading |
heading | string | – | Section heading, supports inline <strong> |
description | string | – | Sub-heading paragraph under the heading |
restaurantName | string | – | Name shown in the card header next to the utensils icon |
cuisine | string | – | Cuisine line under the restaurant name |
rating | number | – | Star rating badge in the header; hidden when null/omitted |
location | string | – | Address line with a pin icon in the header |
timeSlots | string[] | [] | Slot labels rendered in the 4-column time grid |
unavailableDates | string[] | [] | ISO date keys (YYYY-MM-DD) that disable a date in the strip |
unavailableSlotsByDate | Record<string, string[]> | {} | Per-date map of blocked slot labels |
seatingOptions | SeatingOption[] | [] | Seating buttons; whole section hidden when empty |
labels | Booking6Labels | {} | All static text: section labels, placeholders, guest nouns, button copy |
className | string | – | Extra classes for the outer <section> |
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;
};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.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.largePartyBadge only appears once guests is 6 or more (and the label is provided).selectedTime back to null, so a previously chosen time is cleared whenever the date changes.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].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.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.
booking7
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.
booking9
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.
booking1
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.
booking10
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.
booking19
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.
booking2
Booking confirmation card with service details, date/time, provider info with avatar, price breakdown with subtotal/tax/discount/total, promo code input, cancellation policy, and confirm CTA.