React Booking & Appointment Form

Collect appointment bookings with service selection, date picker, and time slots. Perfect for consultations, meetings, and service bookings.

Installation

npm install @formflow.sh/react

Basic Usage

import { BookingForm } from '@formflow.sh/react';

function BookAppointment() {
  return (
    <BookingForm
      apiKey="ff_live_xxx"
      services={['Consultation', 'Training', 'Support Call']}
      timeSlots={['9:00 AM', '10:00 AM', '2:00 PM', '3:00 PM']}
    />
  );
}

Props

PropTypeDefaultDescription
apiKeystring-Your FormFlow API key
servicesstring[]-Available services to book
timeSlotsstring[]-Available time slots
minDateDatetodayEarliest bookable date
maxDateDate+30 daysLatest bookable date
theme"minimal" | "modern" | "brutalist" | "glass""minimal"Visual theme

Form Fields

  • Name - Customer name (required)
  • Email - Customer email (required)
  • Phone - Phone number (optional)
  • Service - Service selection dropdown
  • Date - Date picker
  • Time - Time slot selection
  • Notes - Additional notes (optional)

With Phone Required

<BookingForm
  apiKey="ff_live_xxx"
  services={['Consultation', 'Demo']}
  timeSlots={['9:00 AM', '11:00 AM', '2:00 PM']}
  requirePhone={true}
/>

Features

  • Date picker - Accessible calendar component
  • Time slots - Configurable availability
  • Email notifications - Both customer and admin
  • Calendar integration - Add to Google Calendar (via webhook)

Related

React Booking Form Component - FormFlow | FormFlow