calendar-07.tsx — ui Source File
Architecture documentation for calendar-07.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f3cd924f_9b6d_dfdb_05a5_70ad14997e76["calendar-07.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] f3cd924f_9b6d_dfdb_05a5_70ad14997e76 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 bfc8708c_7488_3983_8998_32b793781735["react-day-picker"] f3cd924f_9b6d_dfdb_05a5_70ad14997e76 --> bfc8708c_7488_3983_8998_32b793781735 5000e233_363d_e409_8b5c_7e80d38646fe["calendar"] f3cd924f_9b6d_dfdb_05a5_70ad14997e76 --> 5000e233_363d_e409_8b5c_7e80d38646fe style f3cd924f_9b6d_dfdb_05a5_70ad14997e76 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { type DateRange } from "react-day-picker"
import { Calendar } from "@/registry/new-york/ui/calendar"
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
Functions
Dependencies
- calendar
- react
- react-day-picker
Source
Frequently Asked Questions
What does calendar-07.tsx do?
calendar-07.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in calendar-07.tsx?
calendar-07.tsx defines 1 function(s): Calendar07.
What does calendar-07.tsx depend on?
calendar-07.tsx imports 3 module(s): calendar, react, react-day-picker.
Where is calendar-07.tsx in the architecture?
calendar-07.tsx is located at deprecated/www/registry/new-york/blocks/calendar-07.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free