{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-studio-calendar-calendars-1",
  "type": "registry:block",
  "title": "Calendars",
  "description": "Workspace card from the overtrue/ui workspace examples. Editable source, scoped styles, and demo interactions.",
  "categories": [
    "cards",
    "workspace"
  ],
  "registryDependencies": [
    "https://ui.overtrue.xyz/r/overtrue-card-foundation.json"
  ],
  "files": [
    {
      "path": "src/blocks/registry/studio-calendar-calendars-1.tsx",
      "type": "registry:component",
      "target": "components/overtrue/blocks/studio-calendar-calendars-1.tsx",
      "content": "\"use client\";\nimport { BlockFrame } from \"./runtime/blocks/frame\";\nimport \"./runtime/cards.css\";\n// Extracted from src/components/overtrue/scenes/content-workbench.tsx:109.\nimport { useState } from \"react\";\nimport { IconCalendar } from \"@tabler/icons-react\";\nimport { type EventCalendarEvent } from \"./runtime/registry/overtrue/event-calendar\";\nimport { SceneCard } from \"./runtime/components/overtrue/scenes/shared\";\nconst calendarEvents: EventCalendarEvent[] = [\n  {\n    id: \"planning\",\n    title: \"Studio planning\",\n    start: new Date(2026, 8, 21, 9),\n    end: new Date(2026, 8, 21, 10),\n    color: \"chart-2\",\n    location: \"Studio / Main room\",\n  },\n  {\n    id: \"review\",\n    title: \"Visitor concept review\",\n    start: new Date(2026, 8, 23, 10),\n    end: new Date(2026, 8, 23, 11),\n    color: \"primary\",\n    location: \"Culture venue\",\n  },\n  {\n    id: \"handover\",\n    title: \"Identity handover\",\n    start: new Date(2026, 8, 24, 14),\n    end: new Date(2026, 8, 24, 15),\n    color: \"chart-3\",\n    location: \"Video call\",\n  },\n  {\n    id: \"focus\",\n    title: \"Focus afternoon\",\n    start: new Date(2026, 8, 25, 13),\n    end: new Date(2026, 8, 25, 16),\n    color: \"chart-2\",\n    location: \"Studio\",\n  },\n];\nfunction CardExample() {\n  const [events] = useState(calendarEvents);\n  const [category, setCategory] = useState(\"All events\");\n\n  return (\n    <>\n      <div\n        className=\"overtrue-block-content\"\n        data-workspace-page=\"fullcalendar\"\n      >\n        <SceneCard title=\"Calendars\">\n          <div className=\"scene-note-list\">\n            {[\"All events\", \"Reviews\", \"Team time\"].map((value) => (\n              <div key={value}>\n                <button\n                  className=\"scene-calendar-filter\"\n                  aria-pressed={category === value}\n                  onClick={() => setCategory(value)}\n                >\n                  <IconCalendar size={16} />\n                  {value}\n                  <span>\n                    {\n                      events.filter(\n                        (event) =>\n                          value === \"All events\" ||\n                          (value === \"Reviews\"\n                            ? event.title.toLowerCase().includes(\"review\")\n                            : !event.title.toLowerCase().includes(\"review\")),\n                      ).length\n                    }\n                  </span>\n                </button>\n              </div>\n            ))}\n          </div>\n        </SceneCard>\n      </div>\n    </>\n  );\n}\n\nexport default function Block() { return <BlockFrame><CardExample /></BlockFrame>; }\n"
    }
  ],
  "docs": "Documentation: https://ui.overtrue.xyz/blocks/studio-calendar-calendars-1. Includes the shared card foundation and hosted demo imagery. Replace sample data and navigation with your application data."
}
