{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "calendar-04",
  "type": "registry:block",
  "author": "shadcn (https://ui.shadcn.com)",
  "description": "Single month with range selection",
  "registryDependencies": [
    "calendar"
  ],
  "files": [
    {
      "path": "blocks/calendar-04.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { type DateRange } from \"react-day-picker\"\n\nimport { Calendar } from \"@/registry/new-york/ui/calendar\"\n\nexport default function Calendar04() {\n  const [dateRange, setDateRange] = React.useState<DateRange | undefined>({\n    from: new Date(2025, 5, 9),\n    to: new Date(2025, 5, 26),\n  })\n\n  return (\n    <Calendar\n      mode=\"range\"\n      defaultMonth={dateRange?.from}\n      selected={dateRange}\n      onSelect={setDateRange}\n      className=\"rounded-lg border shadow-sm\"\n    />\n  )\n}\n",
      "type": "registry:component",
      "target": ""
    }
  ],
  "meta": {
    "iframeHeight": "600px",
    "container": "w-full bg-surface min-h-svh flex px-4 py-12 items-start md:py-20 justify-center min-w-0 xl:pt-28",
    "mobile": "component"
  },
  "categories": [
    "calendar",
    "date"
  ]
}