terra vidhal

Event Agenda

Component

About

An event agenda with timed sessions, coloured tracks, track filters, schedule and clash summaries, a track-mix bar, a personal timeline of favourite sessions, automatic overlap detection, session details and a copyable schedule.

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

Code

How Event Agenda 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 {
  EventAgenda,
  type EventSession,
  type EventTrack,
} from "@/components/ui/event-agenda";

const TRACKS: EventTrack[] = [
  { id: "craft", name: "Craft", color: "#0ea5e9" },
  { id: "systems", name: "Systems", color: "#8b5cf6" },
  { id: "people", name: "People", color: "#10b981" },
];

const SESSIONS: EventSession[] = [
  {
    id: "s1",
    title: "Opening: the quiet interface",
    trackId: "craft",
    start: "09:00",
    end: "09:40",
    speaker: "Amara Okafor",
    room: "Main hall",
    abstract: "Why the best interfaces leave room for attention, and how to design for it.",
  },
  {
    id: "s2",
    title: "Designing with motion budgets",
    trackId: "craft",
    start: "10:00",
    end: "10:40",
    speaker: "Theo Nakamura",
    room: "Studio 2",
    abstract: "A practical model for choosing which transitions earn their frame time.",
  },
  {
    id: "s3",
    title: "Small teams, durable systems",
    trackId: "systems",
    start: "10:00",
    end: "10:40",
    speaker: "Priya Raman",
    room: "Studio 1",
    abstract: "Patterns that survive a team of three and still work at thirty.",
  },
  {
    id: "s4",
    title: "Writing release notes people read",
    trackId: "people",
    start: "11:00",
    end: "11:40",
    speaker: "Lena Fischer",
    room: "Studio 3",
    abstract: "Turning a changelog into a story with a clear next action.",
  },
  {
    id: "s5",
    title: "Research in a single afternoon",
    trackId: "people",
    start: "11:00",
    end: "11:40",
    speaker: "Sam Rivera",
    room: "Studio 2",
    abstract: "A lightweight interview loop for teams that cannot wait a month.",
  },
  {
    id: "s6",
    title: "State machines for interface teams",
    trackId: "systems",
    start: "13:30",
    end: "14:10",
    speaker: "Jonas Weber",
    room: "Main hall",
    abstract: "Modelling loading, empty and error states before writing the first line.",
  },
  {
    id: "s7",
    title: "Critique without friction",
    trackId: "craft",
    start: "14:30",
    end: "15:10",
    speaker: "Avery Cole",
    room: "Studio 1",
    abstract: "A critique format that keeps feedback specific and kind.",
  },
  {
    id: "s8",
    title: "Closing panel: what we keep",
    trackId: "people",
    start: "15:30",
    end: "16:15",
    speaker: "All speakers",
    room: "Main hall",
    abstract: "One practice each speaker will take back to their team on Monday.",
  },
];

export default function EventAgendaDemo() {
  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">
      <EventAgenda
        eventName="Studio Practice Summit"
        dayLabel="Friday 20 March"
        tracks={TRACKS}
        sessions={SESSIONS}
        initialFavorites={["s1", "s2", "s4", "s5", "s6"]}
        title="Programme"
      />
    </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.