terra vidhal

Content Calendar

Component

About

A content calendar with a full month grid, channel filters with counts, a status distribution bar, post chips per day, a today marker, a day panel, an inline editor with duplicate, delete with undo, an unsaved indicator, save and reset.

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", color: "#0ea5e9" },
  { id: "blog", label: "Blog", color: "#8b5cf6" },
  { id: "video", label: "Video", color: "#f59e0b" },
  { id: "social", label: "Social", color: "#10b981" },
];

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-gradient-to-b from-muted/40 via-background to-background px-4 py-8 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

    26
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Kanban Board

    Kanban Board

    17
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Booking Calendar

    Booking Calendar

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16

Explore more

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