{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "calendar-06", "type": "registry:block", "description": "Range selection with minimum days", "registryDependencies": [ "calendar" ], "files": [ { "path": "registry/new-york-v4/blocks/calendar-06.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { type DateRange } from \"react-day-picker\"\n\nimport { Calendar } from \"@/registry/new-york-v4/ui/calendar\"\n\nexport default function Calendar06() {\n const [dateRange, setDateRange] = React.useState({\n from: new Date(2025, 5, 12),\n to: new Date(2025, 5, 26),\n })\n\n return (\n
\n \n
\n A minimum of 5 days is required\n
\n
\n )\n}\n", "type": "registry:component" } ], "meta": { "iframeHeight": "600px", "container": "w-full bg-surface min-h-svh flex px-6 py-12 items-start md:pt-20 justify-center min-w-0 xl:py-24", "mobile": "component" }, "categories": [ "calendar", "date" ] }