# Beste UI > Beautiful, accessible blocks, pieces and components for shadcn/ui and Tailwind CSS, built for React and Next.js. Install one with the shadcn CLI and the code is yours to edit: no runtime dependency, nothing to upgrade. Markdown rendition of https://beste.dev/block/booking2. Every page on the site has one: add `.md` to any address, or send `Accept: text/markdown`. Last updated: 2026-04-14 Whole catalog for LLMs: https://beste.dev/llms.txt. Registry index: https://beste.dev/r/registry.json --- # Reservation Summary Almost done ## Review your **reservation** Double-check the details below and confirm your appointment in one click. ### Deep Tissue Massage Full body deep tissue massage targeting muscle tension and chronic pain relief. Saturday, April 18, 2026 14:00 · 60 min Serenity Spa, 42 Wellness Ave Dr. Emily Carter Licensed Massage Therapist 4.9(127 reviews) Apply Deep Tissue Massage (60 min)$120.00 Hot Stone Add-on$25.00 First-time Discount\-$15.00 Tax$10.40 Total$140.40 Confirm Booking Free cancellation up to 24 hours before your appointment. Late cancellations may incur a 50% charge. About this block 1. / 2. [Blocks](/blocks) 3. / 4. [Booking](/blocks/booking) 5. / 6. Reservation Summary ## Reservation Summary[PRO](/pricing) 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. ## Booking2: Reservation Summary A centered booking confirmation card that stacks a service name and description, a muted panel of date/time/duration/location rows, a provider block with avatar and star rating, a promo-code input that validates against a known code, a price breakdown with subtotal/tax/discount/total lines that recomputes the total when a valid promo is applied, a full-width confirm button, and a cancellation-policy footer. 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](/pricing) ### Installation Swap `YOUR_EMAIL` and `YOUR_KEY` for the email and license key on your account. Find your license key on your [account page](/account). **Radix flavor** bashCopy ``` npx shadcn add "https://beste.dev/r/booking2?email=YOUR_EMAIL&license_key=YOUR_KEY" ``` **Base UI flavor** bashCopy ``` npx shadcn add "https://beste.dev/r-base/booking2?email=YOUR_EMAIL&license_key=YOUR_KEY" ``` This installs the block to `components/beste/block/booking2.tsx`, plus the `avatar`, `badge`, and `button` shadcn/ui primitives it uses for the provider photo, the section eyebrow, and the apply/confirm actions. ### Quick start The installed file exports `booking2Demo` alongside the block: the exact props behind the preview above. Spread it to get a working reservation summary in one line. tsxCopy ``` import { Booking2, booking2Demo } from "@/components/beste/block/booking2"; export default function BookingReviewPage() { return ; } ``` Then replace the demo with your own props. Written out, a trimmed setup looks like this: tsxCopy ``` import { Booking2 } from "@/components/beste/block/booking2"; export default function BookingReviewPage() { return ( ); } ``` ### Props | Prop | Type | Default | Description | | | ------------------ | --------------------------------------------------- | ----------- | ----------------------------------------------- | ---------------------------------------- | | badge | { label: string; variant?: "default" \| "secondary" | "outline" } | – | Centered eyebrow badge above the heading | | heading | string | – | Section heading, supports inline | | | description | string | – | Muted subheading under the heading | | | serviceName | string | – | Bold service title at the top of the card | | | serviceDescription | string | – | Muted line under the service name | | | date | string | – | Date row with a calendar icon | | | time | string | – | Time row with a clock icon | | | duration | string | – | Appended to the time row after a · separator | | | location | string | – | Location row with a map-pin icon | | | provider | Provider | – | Provider block with avatar, role, and rating | | | pricing | PriceItem\[\] | \[\] | Line items in the price breakdown | | | cancellationPolicy | string | – | Footer policy text with a shield icon | | | validPromoCode | string | – | Code the promo input is compared against | | | promoDiscount | PromoDiscount | – | Discount line inserted when the code matches | | | labels | Booking2Labels | {} | Copy for the promo input, buttons, and messages | | | className | string | – | Extra classes for the outer
| | tsCopy ``` type Provider = { name: string; role: string; avatar?: string; rating?: number; reviews?: number; }; type PriceItem = { label: string; amount: string; type?: "regular" | "discount" | "tax" | "total"; }; type PromoDiscount = { label: string; amount: string; }; type Booking2Labels = { promoPlaceholder?: string; applyButton?: string; appliedButton?: string; confirmButton?: string; reviewsSuffix?: string; promoSuccessMessage?: string; promoInvalidMessage?: string; }; ``` ### Behavior notes * The promo code is validated purely client-side by string-comparing the trimmed input against `validPromoCode`; there is no async call and no callback, so a real coupon check must be wired in by the integrator. * Applying a valid promo recomputes the breakdown in a `useMemo`: it pulls the `type: "total"` row out, appends the `promoDiscount` line, then re-adds a total whose amount is re-derived by `parseAmount`/`formatAmount` (a naive regex that reads the first number and reuses the currency symbol from the original total string). * If `pricing` has no `type: "total"` item, the promo line is simply appended and nothing is recalculated. * Promo status lives in internal `useState` (`"idle" \| "valid" \| "invalid"`) that is never lifted out; the Apply button is disabled while the input is empty or the code is already valid, and typing resets the status back to `"idle"`. * Both `promoInvalidMessage` and `promoDiscount.label` substitute `{code}` with `validPromoCode` at render time, so the invalid message can leak the working code (the demo does this on purpose). * `heading` is rendered through `dangerouslySetInnerHTML`, and its inline `` is auto-styled bold and `text-primary`. * The "Confirm Booking" button has no `onClick` handler at all: it is a decorative CTA, so submitting the reservation is left entirely to the integrator. * Every content block is conditionally rendered, so omitting `serviceName`, `provider`, `pricing`, `cancellationPolicy`, or the whole `badge`/`heading`/`description` header collapses that region without leaving empty spacing. 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](/blog/shadcn-forms-react-hook-form-tanstack-formisch) on one field system. ## More Booking blocks [View all Booking](/blocks/booking) [](/block/booking15) FREE booking15 ### Booking Confirmation Receipt [](/block/booking7) PRO booking7 ### Hotel Room Booking [](/block/booking3) PRO booking3 ### Appointment List ## Ship the interface, keep the code. New blocks, pieces and components every week. Install one with a command and it is yours to edit. No runtime dependency, no upgrade path to fight. [Browse the library](/blocks)[See pricing](/pricing) Questions, feedback or a custom request? Write to [\[email protected\]](/cdn-cgi/l/email-protection#59313c353536193b3c2a2d3c773a36). We answer every email. ### Library * [Blocks](/blocks) * [Pages](/pages) * [Pieces](/pieces) * [Components](/components) * [Search](/search) ### Learn * [Docs](/docs) * [AI & MCP](/docs/mcp) * [Blog](/blog) * [Free tools](/tools) * [What's new?](/changelog) * [Website Builder](https://beste.co) ### More * [Pricing](/pricing) * [Referrals](/referrals) * [License](/license) * [Cookie settings](#cookie-settings) * [llms.txt](/llms.txt) * [Contact](/cdn-cgi/l/email-protection#09616c656566496b6c7a7d6c276a66) * [GitHub](https://github.com/beste-co/beste-ui) ### Shadcn Blocks * [Shadcn Hero Blocks](/blocks/hero) * [Shadcn Feature Blocks](/blocks/feature) * [Shadcn Pricing Blocks](/blocks/pricing) * [Shadcn CTA Blocks](/blocks/cta) * [Shadcn FAQ Blocks](/blocks/faq) * [Shadcn About Blocks](/blocks/about) * [Shadcn Stats Blocks](/blocks/stats) * [Shadcn Footer Blocks](/blocks/footer) * [Shadcn Navigation Blocks](/blocks/navigation) * [Shadcn Auth Blocks](/blocks/auth) * [Shadcn Ecommerce Blocks](/blocks/ecommerce) * [Shadcn Portfolio Blocks](/blocks/portfolio) * [Shadcn Showcase Blocks](/blocks/showcase) * [Shadcn Careers Blocks](/blocks/careers) * [Shadcn Onboarding Blocks](/blocks/onboarding) * [Shadcn Coming Soon Blocks](/blocks/coming-soon) * [Shadcn Post Blocks](/blocks/post) * [Shadcn Legal Blocks](/blocks/legal) * [Shadcn Workflow Blocks](/blocks/workflow) * [Shadcn News Blocks](/blocks/news) © 2026, [Beste](https://beste.co). All rights reserved. ViewCode Base UI ![](https://oud.pics/sm/l/npm.svg)`npx shadcn add https://beste.dev/r-base/booking2` [Get Pro](/pricing)[Get Pro access](/pricing)