Shadcn Event Calendar Blocks

Event calendar blocks built with shadcn/ui: month, week, day and agenda views with drag and drop, sidebar calendars with a mini date picker, hourly day timelines and minimal month and agenda layouts.

Event Calendar 1 Pro

Event calendar with month, week, day and agenda views, keyboard view shortcuts, drag to reschedule in quarter hours, current time line, more events popover and an event dialog with colors.

Event Calendar 2 Pro

Month calendar with collapsible sidebar holding user menu, date picker and grouped calendar checkboxes that hide events, a six week grid with event chips and a new calendar dialog.

Event Calendar 3 Pro

Day planner with icon rail, greeting, mini month with event dots and weekend shading, hourly timeline from 8 AM to 10 PM with side by side overlaps, time line and create dialog.

Event Calendar 4 Pro

Minimal calendar with month dropdown, large selected date, to-do list with time badges, next two upcoming events, month grid with colored day markers and an add to-do dialog.

About Shadcn UI Event Calendar Blocks

An event calendar places meetings, deadlines and reminders on a grid of days and hours so people can plan around them. These four shadcn event calendar blocks cover a full calendar with month, week, day and agenda views, a month calendar with a calendar list sidebar, a day planner with an hourly timeline and a minimal day summary with to-dos.

Like the rest of our shadcn blocks, each calendar is built with React, TypeScript and Tailwind CSS on top of shadcn ui components such as Calendar, Dialog, Popover, Select, Sidebar and Toggle Group. Date logic runs on date-fns, event colors come from the chart variables of your theme and every block works with sample events that are generated around today, so the demo always looks current.

Key Elements of an Event Calendar

  • Period navigation: previous and next buttons, a Today button and a title that shows the visible month or range.
  • Views: a month grid for the overview and a week or day view with hourly slots for detail.
  • Readable events: a color per calendar or category, the title and the start time, with overflow handled when a day is full.
  • Create and edit form: title, dates, times, an all day option, location and color in one dialog.
  • Rescheduling: drag an event to a new slot or change its time in the form.
  • Today markers: a highlighted current date and a line for the current time.

Where and Why to Use Event Calendar Blocks

Building a calendar from scratch means solving month grids, time slots, overlapping events, multi day events and time zones before you get to your actual feature. These blocks give you that foundation in plain components you can read and change. They use standard shadcn components and theme tokens, so a calendar page fits the rest of your shadcn ui app and switches to dark mode without extra styles.

  • Scheduling and booking apps: show availability and let staff move appointments by dragging.
  • Project and team tools: display milestones, meetings and deadlines next to tasks.
  • CRM and sales dashboards: plan calls and demos per day or week.
  • Event and class platforms: list sessions in an agenda view that reads well on phones.
  • Personal planners: a calm day view with to-dos for productivity and wellness apps.
  • Shared calendars: toggle family, work and holiday calendars on and off in a sidebar.

Event Calendar Blocks in This Collection

  • Event Calendar 1: The most complete option, for products where users manage a busy schedule and expect Google Calendar style views, keyboard shortcuts and drag to reschedule.
  • Event Calendar 2: Choose it when people combine several calendars and need to switch them on and off, with a date picker in the sidebar for jumping to any day.
  • Event Calendar 3: Suits apps centered on one day at a time, such as a creative studio or coaching planner, where the hourly timeline matters more than the month.
  • Event Calendar 4: A minimal home screen for personal apps that should feel light, with today's to-dos and the next events shown before the month grid.

Similar Block Categories

  • Gantt Chart: plan longer tasks with start and end dates on a timeline.
  • Todo App: manage the tasks that sit behind the calendar entries.
  • Kanban Board: track the status of work while the calendar tracks its dates.
  • Sidebar Layouts: more sidebar patterns for calendar lists and navigation.
  • Modal Dialogs: extra layouts for create, edit and confirmation dialogs.

Accessibility

Navigation buttons carry labels such as “Previous month”, “Next month” and “Today”, and the day buttons in Event Calendar 2, 3 and 4 have the full date as their accessible name plus aria-pressed for the selected day. Events in Event Calendar 1 are buttons, so they can be reached with the Tab key and opened with Enter, and when a narrow month cell hides the title it stays available to screen readers. The event, calendar and to-do dialogs use labelled fields, the color options have aria labels, and Event Calendar 1 and 3 show a validation message when the end is before the start.

Some interactions are pointer only today. Clicking an empty slot to create an event and dragging an event in Event Calendar 1 have no keyboard equivalent besides the New event button and the edit form, so consider adding the dnd-kit keyboard sensor. Events on the Event Calendar 3 timeline are not focusable, and the color options are named after their token, so friendlier names would help. Event Calendar 3 also scrolls the timeline smoothly, which you may want to disable for visitors who prefer reduced motion.

Event Calendar FAQ

An event calendar shows scheduled items on a grid of days or hours so people can see what happens when. It usually offers a month overview, a detailed week or day view with time slots, and a way to create, edit and move events.

They are ready-made calendar screens built with shadcn ui components and Tailwind CSS. The four blocks range from a full calendar with four views and drag and drop to a sidebar month calendar, a day planner and a minimal day summary, each with sample events you replace with your own.

Dates are easier to understand on a grid than in a list. A calendar shows busy and free days at a glance, makes conflicts visible and lets people reschedule by dragging instead of editing date fields, which is why booking tools, CRMs, project apps and dashboards all rely on one.

Navigation to the previous and next period with a Today button, at least a month view and a time based view, clearly colored events with title and time, a create and edit form with start, end and all day options, and a way to handle days that hold more events than fit in a cell.

Event Calendar 1. A dropdown switches between the four views, and the keys M, W, D and A do the same while no input is focused. The agenda lists the next 30 days that have events, and the week and day views scroll to the morning when they open.

Event Calendar 1 uses @dnd-kit/core and @dnd-kit/utilities. In the week and day views every hour is split into four drop zones, so an event snaps to the nearest quarter hour, while in the month view it keeps its time and only changes the day. The duration is preserved, a preview follows the pointer and a toast confirms the new time.

All four use date-fns for date math and formatting. Event Calendar 1 adds @dnd-kit/core, @dnd-kit/utilities and sonner for toasts. Event Calendar 2 uses the shadcn Sidebar and Calendar components and imports the English locale from react-day-picker. Event Calendar 3 and Event Calendar 4 only need shadcn components and date-fns.

Each block reads its events from data.ts. Event Calendar 1 expects objects with id, title, start and end dates, a color and optional description, location and allDay fields, and its EventCalendar component reports changes through onEventAdd, onEventUpdate and onEventDelete. Event Calendar 2 uses a date, a calendar name and an optional time, and Event Calendar 3 and Event Calendar 4 store times as HH:mm strings.

In Event Calendar 1 each overlapping event moves into the next column and is shifted a little to the right, so earlier events stay visible underneath. Event Calendar 3 places overlapping events side by side in equal lanes across the timeline. When a month cell in Event Calendar 1 runs out of room, a “+N more” button opens a popover with all events of that day.

Colors are stored as keys such as chart-1 to chart-5 and mapped to Tailwind classes like bg-chart-1in each block's utils.ts. Because they use the chart variables from your theme, they follow light and dark mode. Change the mapping or the variables in globals.css to restyle every event at once.

Yes, in Event Calendar 2. The sidebar groups calendars into My Calendars, Favorites and Other, each with a checkbox and a color dot. Unchecking a calendar hides its events from the month grid, and the New Calendar dialog adds a calendar with a name and color to the first group.

Yes. Event Calendar 1draws a line across today's column in the week and day views and updates its position every minute. Event Calendar 3shows a red line on today's timeline between 8 AM and 10 PM, also refreshed every minute.

Event Calendar 3 and Event Calendar 4. Event Calendar 3 pairs a mini month with event dots and an hourly timeline for the selected day. Event Calendar 4 is even simpler: a large date, a to-do list with time badges, the next two upcoming events and a month grid with colored markers.

Event Calendar 1 turns its Today and New event buttons into icons, shows colored bars instead of titles in narrow month cells and lets the week view scroll sideways. Event Calendar 2hides the sidebar behind a trigger and shows dots plus a list of the selected day's events below the grid. Event Calendar 3 moves its icon rail into a Sheet and stacks the timeline under the month, and Event Calendar 4 stacks its two columns.

No. All four event calendar blocks are part of All Access, the one-time license that also unlocks every other block, admin dashboard and template with lifetime updates.
shadcn event calendar blocks
Unlock Premium Blocks & Sections
Premium blocks are part of All Access. One license unlocks the whole Shadcn UI Kit, so you can build complete pages and products instead of single sections.
  • 550+ blocks for landing pages, stores, dashboards and apps
  • 16 admin dashboards and 17 ready-made apps
  • 5 premium Next.js website templates
  • 560+ component variants and 70+ examples
  • Install with the shadcn CLI or from your AI editor through the MCP server
  • Lifetime updates, including every new block we release
Unlock Now

One-time payment, no subscription.