Calendar
Calendar composes a provider, date controls, headers and feature rendering.
Practical React example
Browse dated project work in a month view with stable feature IDs.
Before you copy and paste
Use the composed primitives together under their required provider, where one is present. Copy components/kibo-ui/calendar/index.tsx and its returned support files from the Code tab; preserve the project-relative paths. Install the listed primitives: pnpm dlx shadcn@latest add button command popover.
Listed package dependencies: date-fns, jotai, lucide-react.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Browse dated project work in a month view with stable feature IDs
// Usage adapted from Kibo UI's pinned MIT source.
// Copyright (c) 2023 — Present shadcnblocks. See ./LICENSES.md.
'use client';
import { CalendarProvider, CalendarDate, CalendarDatePicker, CalendarMonthPicker, CalendarYearPicker,
CalendarDatePagination, CalendarHeader, CalendarBody, CalendarItem } from '@/components/kibo-ui/calendar';
const features = [{
id: 'design-review', name: 'Design review',
startAt: new Date(2026, 10, 5), endAt: new Date(2026, 10, 5),
status: { id: 'planned', name: 'Planned', color: '#64748b' },
}];
export function ProjectCalendar() {
return (
<CalendarProvider>
<CalendarDate>
<CalendarDatePicker><CalendarMonthPicker /><CalendarYearPicker start={2026} end={2027} /></CalendarDatePicker>
<CalendarDatePagination />
</CalendarDate>
<CalendarHeader />
<CalendarBody features={features}>
{({ feature }) => <CalendarItem key={feature.id} feature={feature} />}
</CalendarBody>
</CalendarProvider>
);
}
Usage example adapted from Kibo UI's pinned MIT source. Retain the source licence notices when copying.
Replace seeded example features with application records and define the time zone used for start and end dates. Keep date navigation separate from changes to the records themselves.
Customization
- CalendarContextProps.locale
- Required; Intl.LocalesArgument.
- CalendarContextProps.startDay
- Required; number.
- ComboboxProps.value
- Required; string.
- ComboboxProps.setValue
- Required; (value: string) => void.
- ComboboxProps.data
- Required; { value: string; label: string; }[].
- ComboboxProps.labels
- Required; { button: string; empty: string; search: string; }.
- ComboboxProps.className
- Optional; string.
- OutOfBoundsDayProps.day
- Required; number.
- CalendarBodyProps.features
- Required; Feature[].
- CalendarBodyProps.children
- Required; (props: { feature: Feature }) => ReactNode.
- CalendarDatePickerProps.className
- Optional; string.
- CalendarDatePickerProps.children
- Required; ReactNode.
- CalendarMonthPickerProps.className
- Optional; string.
- CalendarYearPickerProps.className
- Optional; string.
Integration notes
- A displayed event does not reserve a resource or validate a booking.
- Test events spanning month boundaries, empty months and daylight-saving transitions.
Component source: Kibo UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.