terra vidhal

Interview Scheduler

Component

About

An interview scheduler with candidate selection, a toggleable panel, an availability grid with overlap counts, best-slot and full-panel helpers, per-slot panel availability, duration and format controls, a confirmation card and keyboard grid navigation.

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

Code

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

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import {
  InterviewScheduler,
  type InterviewCandidate,
  type InterviewDay,
  type Interviewer,
} from "@/components/ui/interview-scheduler";

const CANDIDATES: InterviewCandidate[] = [
  { id: "mara", name: "Mara Ellison", role: "Senior product designer", stage: "Panel" },
  { id: "diego", name: "Diego Santos", role: "Backend engineer", stage: "Technical" },
  { id: "nadia", name: "Nadia Haddad", role: "Data analyst", stage: "Hiring manager" },
];

const INTERVIEWERS: Interviewer[] = [
  {
    id: "avery",
    name: "Avery Cole",
    title: "Design director",
    unavailable: ["tue:09:00", "tue:10:30", "wed:13:00", "wed:16:00"],
  },
  {
    id: "jordan",
    name: "Jordan Pike",
    title: "Engineering lead",
    unavailable: ["mon:09:00", "mon:14:30", "wed:10:30", "wed:14:30"],
  },
  {
    id: "riley",
    name: "Riley Chen",
    title: "Product manager",
    unavailable: ["mon:13:00", "tue:13:00", "tue:16:00", "wed:09:00"],
  },
  {
    id: "casey",
    name: "Casey Moreno",
    title: "Data lead",
    unavailable: ["mon:10:30", "tue:14:30", "wed:10:30", "wed:16:00"],
  },
];

const DAYS: InterviewDay[] = [
  { id: "mon", label: "Mon", date: "12 Jan" },
  { id: "tue", label: "Tue", date: "13 Jan" },
  { id: "wed", label: "Wed", date: "14 Jan" },
];

const TIMES = ["09:00", "10:30", "13:00", "14:30", "16:00"];

export default function InterviewSchedulerDemo() {
  return (
    <main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
      <InterviewScheduler
        candidates={CANDIDATES}
        interviewers={INTERVIEWERS}
        days={DAYS}
        times={TIMES}
        title="Panel interview scheduler"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    30
  • Kanban Board

    Kanban Board

    20
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Booking Calendar

    Booking Calendar

    18
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.