Calendar07() — ui Function Reference
Architecture documentation for the Calendar07() function in calendar-07.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD d7e701b9_2647_4c0f_3eeb_9656369e26e7["Calendar07()"] 5a8042c4_cf54_e316_400e_c7e5c835c817["calendar-07.tsx"] d7e701b9_2647_4c0f_3eeb_9656369e26e7 -->|defined in| 5a8042c4_cf54_e316_400e_c7e5c835c817 style d7e701b9_2647_4c0f_3eeb_9656369e26e7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/__registry__/new-york/blocks/calendar-07.tsx lines 8–31
export default function Calendar07() {
const [dateRange, setDateRange] = React.useState<DateRange | undefined>({
from: new Date(2025, 5, 18),
to: new Date(2025, 6, 7),
})
return (
<div className="flex min-w-0 flex-col gap-2">
<Calendar
mode="range"
defaultMonth={dateRange?.from}
selected={dateRange}
onSelect={setDateRange}
numberOfMonths={2}
min={2}
max={20}
className="rounded-lg border shadow-sm"
/>
<div className="text-muted-foreground text-center text-xs">
Your stay must be between 2 and 20 nights
</div>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Calendar07() do?
Calendar07() is a function in the ui codebase, defined in deprecated/www/__registry__/new-york/blocks/calendar-07.tsx.
Where is Calendar07() defined?
Calendar07() is defined in deprecated/www/__registry__/new-york/blocks/calendar-07.tsx at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free