A week calendar with overlapping events, an all-day row, quick drafting and hideable calendars.
Import it and pass your content. The props that matter most are listed next.
import { WeekCalendar, type CalendarDef, type CalendarEvent } from "@/components/ui/notchset/blocks/week-calendar";
export function Agenda({ calendars, events }: { calendars: CalendarDef[]; events: CalendarEvent[] }) {
return (
<WeekCalendar
calendars={calendars}
events={events}
today={new Date().toISOString().slice(0, 10)}
zone="ZÜRICH · UTC+2"
onCreate={async (event) => {
const res = await fetch("/api/events", { method: "POST", body: JSON.stringify(event) });
return (await res.json()) as CalendarEvent;
}}
/>
);
}calendars–
{ id, label, tone }[]tone is "ink", "muted", "edge" or "hatched": a left bar and a fill, no new hues.
events–
{ id, date, start, end, calendar, title, location?, note? }[]ISO dates and hours in the calendar's zone (9.5 is 09:30).
allDay–
{ id, from, to, calendar, title }[]Banners across the all-day row.
today / now / zone–
string / number / stringOpens on today's week; now (hours) draws the now line; zone labels the sidebar.
onCreate / onDelete–
(event) => Promise<event> / (event) => voidStore a drafted event (resolve with it) and a deletion.
WeekCalendardata-slot="week-calendar"
Toolbar, sidebar, all-day row, hour grid and event panel.
components/ui/notchset/blocks/week-calendar.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/week-calendarNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release
Pro is in early access.