Service Selector

Step 1 of 3

Choose your service

Browse our menu and pick the treatment that suits you best.

No service selected
About this block

Service SelectorFREE

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.

Booking4: Service Selector

Step-one service picker for a booking flow: a pill-style category filter narrows a scrollable list of service rows, each showing an icon, name, optional badge, duration, and price, with a sticky footer summarizing the current pick and a "Next Step" button.

Free block

This block is free. No license or account is required: install it with the CLI and use it in unlimited projects.

Installation

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/booking4"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/booking4"

This installs the block to components/beste/block/booking4.tsx, plus the badge and button shadcn/ui primitives it uses for the service badges and footer button.

Quick start

The installed file exports booking4Demo alongside the block: the exact props behind the preview above. Spread it to get a working service selector in one line.

tsx
import { Booking4, booking4Demo } from "@/components/beste/block/booking4";

export default function BookingStep1Page() {
  return <Booking4 {...booking4Demo} />;
}

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

tsx
import { Hand, Scissors, Sparkles } from "lucide-react";
import { Booking4 } from "@/components/beste/block/booking4";

export default function BookingStep1Page() {
  return (
    <Booking4
      badge={{ label: "Step 1 of 3", variant: "secondary" }}
      heading="Choose your <strong>service</strong>"
      description="Pick the treatment that suits you best."
      services={[
        {
          name: "Swedish Massage",
          description: "Gentle full-body massage for relaxation",
          duration: "60 min",
          price: "$89",
          category: "Massage",
          icon: Hand,
          badge: "Popular",
        },
        {
          name: "Hot Stone Therapy",
          description: "Heated stones for deep relaxation",
          duration: "75 min",
          price: "$140",
          category: "Massage",
          icon: Sparkles,
        },
        {
          name: "Haircut & Styling",
          description: "Precision cut with wash and blow-dry",
          duration: "45 min",
          price: "$65",
          category: "Hair",
          icon: Scissors,
        },
      ]}
      labels={{ allCategory: "All", noSelection: "No service selected", nextButton: "Next Step" }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Section eyebrow badge
headingstringSection heading, supports inline <strong>
descriptionstringSection intro text
servicesService[][]Rows rendered in the scrollable list
labelsBooking4Labels{}UI copy: category filter label, empty-state text, footer button text
classNamestringExtra classes for the outer <section>
ts
type Service = {
  name: string;
  description: string;
  duration: string;
  price: string;
  category: string;
  icon: LucideIcon;
  badge?: string;
};

type Booking4Labels = {
  allCategory?: string;
  noSelection?: string;
  nextButton?: string;
};

Behavior notes

  • Category tabs are custom buttons, not the shadcn Tabs component. They're built from [allCategory, ...new Set(services.map(s => s.category))] and only render when there are more than two categories in that list (in effect, more than one real category besides "All").
  • Selection is tracked by matching service.name as a string key, not an index or id, so two services sharing the same name would both be treated as selected together.
  • heading supports inline <strong> markup rendered via dangerouslySetInnerHTML (the demo uses "Choose your <strong>service</strong>").
  • The "Next Step" button is disabled until a service is selected. Clicking it only calls console.log("Selected service:", selected), it does not navigate or submit anywhere, so wiring an actual next step is left to the integrator.
  • The service list scrolls internally once its content exceeds max-h-[480px], keeping the category tabs and the footer summary always in view.

More Booking blocks

View all Booking
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.

PRO

booking24

Service And Slot Picker

An interactive appointment picker: a hairline panel pairing a selectable service list with a scrollable day strip and a time slot grid that marks unavailable times, beside a full-height provider photo with a gradient name card, closing on a live summary bar and confirm action.

PRO

booking16

Home Cleaning Service Booking

Residential cleaning service booking with service type tabs (standard/deep/move-out), bedroom/bathroom selectors, recurring frequency pills, add-ons checklist, date picker, estimated duration, and price breakdown footer.

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

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

booking26

Minimal Service Picker

A quiet booking picker whose left column lists each service as a single hairline row carrying only its length and price, swapping a sticky panel that floats a live week strip above the chosen service's detail and its book action.