BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ilinxa/event-calendar

Event Calendar

ilinxa/event-calendar
FreeBlock

Editable event calendar with month, week, day, and agenda views — multi-day spans, drag and resize editing, clipboard support, and keyboard navigation.

Install it

npx shadcn@latest add https://ui.ilinxa.com/r/event-calendar.json

Source

src/registry/components/data/event-calendar/event-calendar.tsxui.ilinxa.com/r/event-calendar.json
1"use client";
2
3import { forwardRef } from "react";
4import { useCalendar } from "./hooks/use-calendar-context";
5import { useCalendarEditOptional } from "./hooks/use-calendar-edit-extension";
6import { EventCalendarRoot } from "./parts/calendar-root";
7import { CalendarToolbar } from "./parts/calendar-toolbar";
8import { CalendarMiniNav } from "./parts/calendar-mini-nav";
9import { CalendarMonthView } from "./parts/calendar-month-view";
10import { CalendarWeekView } from "./parts/calendar-week-view";
11import { CalendarDayView } from "./parts/calendar-day-view";
12import { CalendarAgendaView } from "./parts/calendar-agenda-view";
13import { CalendarEventInspector } from "./parts/calendar-event-inspector";
14import type { CalendarHandle, CalendarProps } from "./types";
15
16/** Renders the active view (must live inside the Root to read context). */
17function ActiveView() {
18 const { view, availableViews } = useCalendar();
19 const v = availableViews.includes(view) ? view : availableViews[0];
20 switch (v) {
21 case "week":
22 return <CalendarWeekView />;
23 case "day":
24 return <CalendarDayView />;
25 case "agenda":
26 return <CalendarAgendaView />;
27 case "month":
28 default:
29 return <CalendarMonthView />;
30 }
31}
32
33/**
34 * Renders the quick-composer / rename field / detail-editor overlays — but
35 * ONLY when the editing extension is wired (`useCalendarEditOptional()` is
36 * non-null). A tiny inner component so it can read that context itself
37 * (must live inside the Root, same as `ActiveView`); the assembly never
38 * statically imports any of these — they resolve through `edit.components`.
39 */
40function EditOverlaysSlot({ showInspector }: { showInspector: boolean }) {
41 const edit = useCalendarEditOptional();
42 if (!edit) return null;
43 return (
44 <>
45 <edit.components.QuickComposer />
46 {/* Inline rename popup (the inspector never hosted rename). */}
47 <edit.components.RenameField />
48 {/* Detail editor — only when the inspector isn't mounted (it hosts the
49 editor inline; mounting both would double-render on `editingId`). */}
50 {showInspector ? null : <edit.components.EditOverlays />}
51 </>
52 );
53}
54
55/**
56 * Calendar 01 — batteries-included assembly (Tier A). Root + toolbar + optional
57 * mini-nav + the active view, gated by `show*` toggles. Contains no logic the
58 * parts lack; hand-assemble `EventCalendarRoot` + the parts you want for a lighter
59 * build.
60 */
61// … truncated

What it pulls in

npm packages

  • date-fns
  • lucide-react

Other registry items

  • avatar
  • badge
  • button
  • calendar
  • popover
  • skeleton
  • @ilinxa/task-card

Files it writes

  • src/registry/components/data/event-calendar/event-calendar.tsx
  • src/registry/components/data/event-calendar/index.ts
  • src/registry/components/data/event-calendar/types.ts
  • src/registry/components/data/event-calendar/lib/classify.ts
  • src/registry/components/data/event-calendar/lib/color.ts
  • src/registry/components/data/event-calendar/lib/date-range.ts
  • src/registry/components/data/event-calendar/lib/occurrences.ts
  • src/registry/components/data/event-calendar/lib/segments.ts
  • src/registry/components/data/event-calendar/lib/lane-pack.ts
  • src/registry/components/data/event-calendar/hooks/use-calendar-context.ts
  • src/registry/components/data/event-calendar/hooks/use-calendar-cursor.ts
  • src/registry/components/data/event-calendar/hooks/use-calendar-edit-extension.ts
  • src/registry/components/data/event-calendar/hooks/use-now-tick.ts
  • src/registry/components/data/event-calendar/parts/calendar-root.tsx
  • src/registry/components/data/event-calendar/parts/calendar-toolbar.tsx
  • src/registry/components/data/event-calendar/parts/calendar-month-view.tsx
  • src/registry/components/data/event-calendar/parts/calendar-time-grid.tsx
  • src/registry/components/data/event-calendar/parts/calendar-week-view.tsx
  • src/registry/components/data/event-calendar/parts/calendar-day-view.tsx
  • src/registry/components/data/event-calendar/parts/calendar-agenda-view.tsx
  • src/registry/components/data/event-calendar/parts/calendar-mini-nav.tsx
  • src/registry/components/data/event-calendar/parts/calendar-event.tsx
  • src/registry/components/data/event-calendar/parts/event-tooltip-full.tsx
  • src/registry/components/data/event-calendar/parts/calendar-event-inspector.tsx
  • src/registry/components/data/event-calendar/parts/calendar-skeleton.tsx

Facts

Registry
ilinxa
Type
registry:block
Access
Free
Files written
25
Licence
MIT
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

ui.ilinxa.com ilinxa/pro-ui on GitHub Raw registry item This item as JSON

More from ilinxa

All 184 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Account Switcheraccount-switcherilinxaBlocksFree1 dep · 10 files
Account Switcher (deprecated alias)account-switcher-01ilinxaBlocksFreeno deps
Account Switcher — fixturesaccount-switcher-fixturesilinxaBlocksFreeno deps
App Sidebarapp-sidebarilinxaBlocksFree1 dep · 37 files
App Sidebar — fixturesapp-sidebar-fixturesilinxaBlocksFreeno deps
Rich Text Editor (deprecated alias)article-body-01ilinxaBlocksFreeno deps
Article Metaarticle-metailinxaBlocksFree1 dep · 4 files
Article Meta (deprecated alias)article-meta-01ilinxaBlocksFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex