{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "event-list",
  "title": "Event List",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-react/blocks/event-list/EventList.tsx",
      "content": "'use client'\n\nimport * as React from 'react'\nimport { Clock } from 'lucide-react'\nimport { SectionCard } from '@/components/ui/section-card'\nimport { DataList, DataListItem } from '@/components/ui/data-list'\nimport { Badge } from '@/components/ui/badge'\n\nexport interface EventItem {\n  id: string | number\n  title: string\n  date: string\n  status?: string\n  statusVariant?: 'default' | 'secondary' | 'outline' | 'destructive'\n}\n\nexport interface EventListProps {\n  title?: string\n  description?: string\n  events: EventItem[]\n  className?: string\n}\n\nexport function EventList({ title, description, events, className }: EventListProps) {\n  return (\n    <SectionCard title={title ?? 'Upcoming Events'} description={description} className={className}>\n      <DataList>\n        {events.map((event) => (\n          <DataListItem key={event.id} className=\"flex-col items-stretch\">\n            <div className=\"flex items-center justify-between\">\n              <p className=\"text-sm font-medium\">{event.title}</p>\n              {event.status && <Badge variant={event.statusVariant ?? 'secondary'}>{event.status}</Badge>}\n            </div>\n            <div className=\"text-muted-foreground mt-1 flex items-center gap-1.5 text-xs\">\n              <Clock className=\"size-3\" />\n              <span>{event.date}</span>\n            </div>\n          </DataListItem>\n        ))}\n      </DataList>\n    </SectionCard>\n  )\n}\n",
      "type": "registry:block",
      "target": "~/components/blocks/EventList.tsx"
    }
  ],
  "dependencies": [
    "lucide-react"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/react/section-card.json",
    "https://uipkge.dev/r/react/data-list.json",
    "https://uipkge.dev/r/react/badge.json"
  ],
  "description": "List of upcoming events in a SectionCard. Each item shows title + date + optional status badge.",
  "categories": [
    "dashboard"
  ]
}