Skip to main content
ParticleUI

Event Calendar

Full-featured event calendar built on react-big-calendar with month, week, day, and agenda views, click-to-add events, per-event color support, and a custom dark-themed toolbar.

Code
import { EventCalendar } from "@/components/ui/event-calendar"

export default function Example() {
  return <EventCalendar />
}

Installation

$npx particleui-cli add event-calendar

Usage

TSX
import { EventCalendar } from "@/components/ui/event-calendar"

export default function Example() {
  return <EventCalendar />
}

Props

PropTypeDefaultRequired
dateDateyes
viewCalendarViewyes
onNavigate(action: "PREV" | "NEXT" | "TODAY") => voidyes
onView(view: CalendarView) => voidyes
eventsCalendarEvent[]no
classNamestringno
defaultViewCalendarViewno

Details

Source filecomponents/ui/event-calendar.tsx
Typeui
Categoriesforms, blocks
npm dependenciesreact-big-calendar, date-fns
Registry deps
Claude skill