Kavi Katiyar

Meeting Scheduler

Cards 249

About

Meeting Scheduler This component provides a comprehensive interface for scheduling events, featuring a responsive calendar for date range selection, time inputs, and additional options, all packaged in a clean, modern card layout.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Meeting Scheduler to your project and fits it to your theme.

Code

How Meeting Scheduler is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

// demo.tsx
"use client";

import { MeetingScheduler } from "@/components/ui/meeting-scheduler";
import { parse } from "date-fns";

// Main Demo Component
export default function MeetingSchedulerDemo() {
  
  // A simple handler to show the scheduled data in an alert.
  const handleSchedule = (details: { startDate: Date | null; endDate: Date | null; aiNotes: boolean }) => {
    const { startDate, endDate, aiNotes } = details;
    const alertMessage = `
      Meeting Scheduled!
      --------------------
      Start Date: ${startDate ? startDate.toDateString() : 'N/A'}
      End Date: ${endDate ? endDate.toDateString() : 'N/A'}
      AI Notes: ${aiNotes ? 'Enabled' : 'Disabled'}
    `;
    alert(alertMessage);
  };

  // A handler for the cancel action.
  const handleCancel = () => {
    alert("Scheduling cancelled.");
  };

  // Set initial dates based on the example image
  const initialStartDate = parse("2025-07-14 09:00", "yyyy-MM-dd HH:mm", new Date());
  const initialEndDate = parse("2025-07-20 10:00", "yyyy-MM-dd HH:mm", new Date());


  return (
    <div className="flex items-center justify-center min-h-screen bg-background p-4">
      <MeetingScheduler
        initialStartDate={initialStartDate}
        initialEndDate={initialEndDate}
        onSchedule={handleSchedule}
        onCancel={handleCancel}
      />
    </div>
  );
}

Dependencies

More by Kavi Katiyar

View all
  • 3D Card

    3D Card

    981
  • Bento Product Features

    Bento Product Features

    831
  • Testimonial Slider

    Testimonial Slider

    716
  • Card

    Card

    607
  • Order Confirmation Card

    Order Confirmation Card

    504
  • Project Detail View

    Project Detail View

    408
  • State

    State

    393
  • Animated Card

    Animated Card

    393

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    264
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Stats cards with links

    Stats cards with links

    39
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    292
  • Item

    Item

    10