---
title: "Calendar Sidebar N.01"
description: "A floating sidebar for a calendar app: New, a month to page, find people, calendar lists with color checks, scheduling links, and the next meeting."
url: https://gelatinui.com/blocks/calendar-sidebar-01
markdown_url: https://gelatinui.com/blocks/calendar-sidebar-01.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/calendar-sidebar-01"
version: "2026-11-16"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Calendar Sidebar N.01

> A floating sidebar for a calendar app: New, a month to page, find people, calendar lists with color checks, scheduling links, and the next meeting.

Page: https://gelatinui.com/blocks/calendar-sidebar-01

## When to use it

Best for: The nav of a calendar app: a month to pick a day, calendar lists per account, scheduling links, and the next meeting.

- Use it as the frame of a calendar or scheduling app.
- Pass your words through `content`. Start from `CALENDAR_SIDEBAR_01_DEFAULT_CONTENT` and change the fields you need.
- Pass your logo in `content.brand.mark`, and the logos of your scheduling and call tools in the link `mark` and `nextMeeting.joinMark`. With none, a letter tile and icons show.

## When not to use it

- For a general app nav with a workspace switcher, use a [Sidebar](https://gelatinui.com/components/sidebar.md).
- For the parts with no ready contents, use [Sidebar](https://gelatinui.com/components/sidebar.md).

## Notes for agents

- ⌘B (Ctrl+B elsewhere), the rail, or the Collapse sidebar row folds it to a 48px icon rail. The logo button opens it again.
- In the icon rail the month, the lists, and the field hide. The New, Calendar, Calendars, and Meet with buttons stand for them: a press opens the panel.
- Each calendar row owns its checked state. Pass `onCheckedChange` to `CalendarSidebar01CalendarRow` to filter your events.
- The month picks a day: pass `onDayChange` to `CalendarSidebar01Month` to show that week. Days in `eventDays` get a dot.
- A cookie keeps the state. Pass `cookie={false}` in a demo.
- `CalendarSidebar01Page` is only the page bar, with a title and actions that do nothing: put your week view under it.
- With children, the block ignores `content`.

## Anatomy

```text
CalendarSidebar01
├─ CalendarSidebar01BrandTile (0..n)
├─ CalendarSidebar01Brand (0..n)
├─ CalendarSidebar01CalendarCheck (0..n)
├─ CalendarSidebar01CalendarGroup (0..n)
├─ CalendarSidebar01CalendarRow (0..n)
├─ CalendarSidebar01Collapse (0..n)
├─ CalendarSidebar01Default (0..n)
├─ CalendarSidebar01LinkRow (0..n)
├─ CalendarSidebar01MeetWith (0..n)
├─ CalendarSidebar01Month (0..n)
├─ CalendarSidebar01New (0..n)
├─ CalendarSidebar01NextMeetingEvent (0..n)
├─ CalendarSidebar01NextMeetingJoin (0..n)
├─ CalendarSidebar01NextMeetingPeople (0..n)
├─ CalendarSidebar01NextMeetingTime (0..n)
├─ CalendarSidebar01NextMeetingTitle (0..n)
├─ CalendarSidebar01NextMeeting (0..n)
├─ CalendarSidebar01Page (0..n)
├─ CalendarSidebar01Panel (0..n)
├─ CalendarSidebar01RailButton (0..n)
└─ CalendarSidebar01RailPerson (0..n)
```

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| CalendarSidebar01 | `calendar-sidebar-01` |  |  |  |
| CalendarSidebar01BrandTile | `calendar-sidebar-01-brand-tile` |  | `--radius` |  |
| CalendarSidebar01Brand | `calendar-sidebar-01-brand` | `data-collapsible` |  |  |
| CalendarSidebar01CalendarCheck | `calendar-sidebar-01-calendar-check` |  | `--foreground`, `--primary`, `--primary-foreground` |  |
| CalendarSidebar01CalendarGroup | `calendar-sidebar-01-calendar-group` | `data-collapsible` |  |  |
| CalendarSidebar01CalendarRow | `calendar-sidebar-01-calendar-row` | `data-checked` |  |  |
| CalendarSidebar01Collapse | `calendar-sidebar-01-collapse` | `data-collapsible` |  |  |
| CalendarSidebar01Default | `calendar-sidebar-01-panel` | `data-collapsible` |  |  |
| CalendarSidebar01LinkRow | `calendar-sidebar-01-link-row` |  |  |  |
| CalendarSidebar01MeetWith | `calendar-sidebar-01-meet-with` | `data-collapsible` |  |  |
| CalendarSidebar01Month | `calendar-sidebar-01-month` | `data-collapsible` |  |  |
| CalendarSidebar01New | `calendar-sidebar-01-new` | `data-collapsible` |  |  |
| CalendarSidebar01NextMeetingEvent | `calendar-sidebar-01-next-meeting-event` |  |  |  |
| CalendarSidebar01NextMeetingJoin | `calendar-sidebar-01-next-meeting-join` |  |  |  |
| CalendarSidebar01NextMeetingPeople | `calendar-sidebar-01-next-meeting-people` |  |  |  |
| CalendarSidebar01NextMeetingTime | `calendar-sidebar-01-next-meeting-time` |  |  |  |
| CalendarSidebar01NextMeetingTitle | `calendar-sidebar-01-next-meeting-title` |  |  |  |
| CalendarSidebar01NextMeeting | `calendar-sidebar-01-next-meeting` | `data-collapsible` | `--radius` |  |
| CalendarSidebar01Page | `calendar-sidebar-01-page` |  |  |  |
| CalendarSidebar01Panel | `calendar-sidebar-01-panel` |  |  |  |
| CalendarSidebar01RailButton | `calendar-sidebar-01-rail-button` | `data-collapsible` |  |  |
| CalendarSidebar01RailPerson | `calendar-sidebar-01-rail-person` | `data-collapsible` |  |  |

## Usage

Render it with no props for the ready panel and the page bar.

```tsx title="calendar-frame.tsx"
import { CalendarSidebar01 } from "@/components/blocks/pro/calendar-sidebar-01/calendar-sidebar-01";

export function CalendarFrame() {
  return <CalendarSidebar01 />;
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/calendar-sidebar-01
```

It adds 84 registry items: 102 files, 15785 lines, and the npm packages `@base-ui/react`, `@dicebear/core`, `@dicebear/styles`, `@internationalized/date`, `@mantine/hooks`, `@phosphor-icons/react`, `@tanstack/react-hotkeys`, `@xstate/react`, `clsx`, `motion`, `react-aria-components`, `tailwind-merge`, `tailwind-variants`, `xstate`.

## Built on

- [Avatar](https://gelatinui.com/components/avatar.md)
- [Badge](https://gelatinui.com/components/badge.md)
- [Button](https://gelatinui.com/components/button.md)
- [Calendar](https://gelatinui.com/components/calendar.md)
- [Checkbox](https://gelatinui.com/components/checkbox.md)
- [Copy Button](https://gelatinui.com/components/copy-button.md)
- [Generated Avatar](https://gelatinui.com/components/generated-avatar.md)
- [Kbd](https://gelatinui.com/components/kbd.md)
- [Label](https://gelatinui.com/components/label.md)
- [Menu](https://gelatinui.com/components/menu.md)
- [Search Field](https://gelatinui.com/components/search-field.md)
- [Sidebar](https://gelatinui.com/components/sidebar.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Sidebar](https://gelatinui.com/components/sidebar.md)
- [Workspace Sidebar N.01](https://gelatinui.com/blocks/workspace-sidebar-01.md)
- [Calendar](https://gelatinui.com/components/calendar.md)
- [Checkbox](https://gelatinui.com/components/checkbox.md)
- [Copy Button](https://gelatinui.com/components/copy-button.md)

## Keyboard

| Keys | Action |
| --- | --- |
| ⌘B, Ctrl+B | Folds the panel to the icon rail, or opens it. |
| Tab | Moves through the switcher, New, the month, the field, the rows, and the call button. |
| Arrow keys | Move the focus between the days of the month. |
| Enter, Space | Picks a day, opens a link, or shows and hides a calendar. |
| Esc | Closes the workspace menu or the Drawer. |

## Accessibility

The rail buttons show a tooltip with the name on the icon rail.

Each calendar row is a label around its checkbox, so a press on the name toggles it.

A day with events adds its words after the date in the screen reader name.

## Motion

| Part | Motion |
| --- | --- |
| Rail | sheet · the panel width changes |
