terra vidhal

Content Calendar

Component

About

A month content calendar with channel filters, post chips per day, a selected-day panel and an inline post editor with delete and save.

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

Code

How Content Calendar 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 {
  ContentCalendar,
  type CalendarChannel,
  type CalendarPost,
} from "@/components/ui/content-calendar";

const CHANNELS: CalendarChannel[] = [
  { id: "newsletter", label: "Newsletter" },
  { id: "blog", label: "Blog" },
  { id: "video", label: "Video" },
  { id: "social", label: "Social" },
];

const POSTS: CalendarPost[] = [
  { id: "p1", day: 3, time: "09:00", channelId: "newsletter", title: "March field notes", status: "published" },
  { id: "p2", day: 5, time: "14:30", channelId: "blog", title: "A calmer release checklist", status: "scheduled" },
  { id: "p3", day: 9, time: "11:00", channelId: "video", title: "Studio tour, part one", status: "scheduled" },
  { id: "p4", day: 9, time: "16:00", channelId: "social", title: "Behind the scenes stills", status: "draft" },
  { id: "p5", day: 12, time: "08:30", channelId: "newsletter", title: "Five links for the week", status: "scheduled" },
  { id: "p6", day: 16, time: "10:00", channelId: "blog", title: "Designing for slower mornings", status: "draft" },
  { id: "p7", day: 19, time: "13:00", channelId: "video", title: "Studio tour, part two", status: "draft" },
  { id: "p8", day: 23, time: "09:15", channelId: "newsletter", title: "Reader questions, answered", status: "scheduled" },
  { id: "p9", day: 26, time: "15:00", channelId: "social", title: "Workspace detail series", status: "scheduled" },
  { id: "p10", day: 30, time: "11:30", channelId: "blog", title: "What we changed this quarter", status: "draft" },
];

export default function ContentCalendarDemo() {
  return (
    <main className="flex min-h-screen w-full items-start justify-center bg-background px-4 py-10 sm:px-6">
      <ContentCalendar
        monthLabel="March"
        year={2026}
        monthNumber={3}
        startWeekday={6}
        daysInMonth={31}
        channels={CHANNELS}
        posts={POSTS}
        today={9}
        title="Editorial calendar"
      />
    </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.