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

Booking1: Date & Time Picker

A two-panel booking widget rendering an interactive monthly calendar on the left (with prev/next month navigation, today ring, past and unavailable dates struck through and disabled, and a selected-date fill) and a time-slot grid on the right split into morning/afternoon groups, above a sticky footer that summarizes the current date-plus-time pick and a confirm button that stays disabled until both are chosen.

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.

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/booking1?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/booking1.tsx, plus the badge and button shadcn/ui primitives it uses for the eyebrow/duration badges and the confirm button.

Quick start

The installed file exports booking1Demo alongside the block: the exact props behind the preview above. Spread it to get a working date-and-time picker in one line.

tsx
import { Booking1, booking1Demo } from "@/components/beste/block/booking1";

export default function BookingPage() {
  return <Booking1 {...booking1Demo} />;
}

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

tsx
import { Booking1 } from "@/components/beste/block/booking1";

export default function BookingPage() {
  return (
    <Booking1
      badge={{ label: "Live availability", variant: "secondary" }}
      heading="Book your <strong>next session</strong>"
      description="Pick a date and time that works for you."
      serviceName="Deep Tissue Massage"
      duration="60 min"
      unavailableDates={["2026-04-14", "2026-04-19"]}
      timeSlots={["09:00", "09:30", "10:00", "13:00", "14:30", "16:00"]}
      unavailableSlots={{ "2026-04-15": ["09:00", "13:00"] }}
      labels={{
        morning: "Morning",
        afternoon: "Afternoon",
        emptyHeading: "Select a date",
        summaryEmpty: "No date & time selected",
        summaryConnector: "at",
        confirmButton: "Confirm Booking",
        days: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
        months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
      }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Centered eyebrow badge above the heading
headingstringSection heading, supports inline <strong>
descriptionstringMuted paragraph under the heading
serviceNamestringService name shown in the card header with a calendar icon
durationstringDuration text rendered as a secondary badge with a clock icon
unavailableDatesstring[][]ISO date keys (YYYY-MM-DD) that render disabled and struck through
timeSlotsstring[][]All HH:MM slots, auto-split into morning/afternoon at hour 12
unavailableSlotsRecord<string, string[]>{}Map of date key to blocked HH:MM slots for that day
labelsBooking1Labels{}All UI strings, day/month arrays, and legend text
classNamestringExtra classes for the outer <section>
ts
type Booking1Labels = {
  morning?: string;
  afternoon?: string;
  emptyHeading?: string;
  emptyDescription?: string;
  summaryEmpty?: string;
  summaryConnector?: string;
  confirmButton?: string;
  legendSelected?: string;
  legendToday?: string;
  legendUnavailable?: string;
  days?: string[];
  months?: string[];
};

Behavior notes

More Booking blocks

View all Booking
PRO

booking18

Cinema Seat Picker

Interactive seat selection grid for cinemas, theaters, and events. Row/column layout with an aisle gap, tier-based pricing (standard/premium/VIP), occupied seats, a live selection summary, and a legend. Includes screen indicator at the top.

PRO

booking6

Restaurant Reservation

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.

FREE

booking5

Provider Picker

Staff/provider selection cards with avatar, name, specialty, star rating, review count, availability badge, experience years, and selected state. Grid layout with "Any Provider" option.

FREE

booking4

Service Selector

Service selection grid with category filter tabs, service cards showing icon, name, description, duration, price, and selected state. Ideal for spa, salon, clinic, and fitness booking flows.

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.

PRO

booking20

Car Rental Booking

Vehicle rental flow with pickup and return location fields, date range picker, car class grid (compact/suv/luxury) with image and specs, insurance tier selector, optional add-ons, and live price breakdown.