{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "calendar-agenda",
  "type": "registry:ui",
  "title": "Calendar agenda",
  "description": "React agenda list of the day's events with a fixed time column, title and optional meta line such as location or attendees, divided inside one card.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/calendar-agenda.tsx",
      "type": "registry:ui",
      "target": "components/ui/calendar-agenda.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\ntype AgendaItem = { id: string; time: string; title: string; meta?: string }\n\ntype CalendarAgendaProps = {\n  items?: AgendaItem[]\n  className?: string\n}\n\nconst SAMPLE_ITEMS: AgendaItem[] = [\n  { id: \"e1\", time: \"09:00\", title: \"Finance standup\", meta: \"Lumen team · 15 min\" },\n  { id: \"e2\", time: \"10:30\", title: \"Northwind renewal review\", meta: \"Maya Chen, Theo Okafor\" },\n  { id: \"e3\", time: \"12:00\", title: \"Lunch with Priya Raman\", meta: \"Juniper Café\" },\n  { id: \"e4\", time: \"14:00\", title: \"Invoice run: INV-2041 to INV-2058\", meta: \"Automated · needs approval\" },\n  { id: \"e5\", time: \"16:30\", title: \"Deploy lumen-web v2.4.0\", meta: \"Sam Lowe · staging first\" },\n]\n\n/** A day's events as a simple time and title list, with optional meta under each entry. */\nfunction CalendarAgenda({ items = SAMPLE_ITEMS, className }: CalendarAgendaProps) {\n  return (\n    <div data-slot=\"calendar-agenda\" className={cn(\"w-full max-w-md divide-y divide-border rounded-xl border border-border\", className)}>\n      {items.map((item) => (\n        <div key={item.id} className=\"flex gap-3 px-3 py-3\">\n          <time className=\"w-16 shrink-0 text-xs tabular-nums text-fg-muted\">{item.time}</time>\n          <div className=\"min-w-0\">\n            <p className=\"text-sm font-medium text-fg\">{item.title}</p>\n            {item.meta ? <p className=\"text-xs text-fg-muted\">{item.meta}</p> : null}\n          </div>\n        </div>\n      ))}\n    </div>\n  )\n}\nexport { CalendarAgenda }\nexport type { CalendarAgendaProps, AgendaItem }\n"
    }
  ]
}
