calendar-04.tsx — ui Source File
Architecture documentation for calendar-04.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 2292f130_02d4_82c8_289a_54f424a36774["calendar-04.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 2292f130_02d4_82c8_289a_54f424a36774 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 bfc8708c_7488_3983_8998_32b793781735["react-day-picker"] 2292f130_02d4_82c8_289a_54f424a36774 --> bfc8708c_7488_3983_8998_32b793781735 9296b496_7dcb_ebca_2184_14782807983b["calendar"] 2292f130_02d4_82c8_289a_54f424a36774 --> 9296b496_7dcb_ebca_2184_14782807983b style 2292f130_02d4_82c8_289a_54f424a36774 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/default/ui/calendar"
export default function Calendar04() {
const [dateRange, setDateRange] = React.useState<DateRange | undefined>({
from: new Date(2025, 5, 9),
to: new Date(2025, 5, 26),
})
return (
<Calendar
mode="range"
defaultMonth={dateRange?.from}
selected={dateRange}
onSelect={setDateRange}
className="rounded-lg border shadow-sm"
/>
)
}
Domain
Subdomains
Functions
Dependencies
- calendar
- react
- react-day-picker
Source
Frequently Asked Questions
What does calendar-04.tsx do?
calendar-04.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-04.tsx?
calendar-04.tsx defines 1 function(s): Calendar04.
What does calendar-04.tsx depend on?
calendar-04.tsx imports 3 module(s): calendar, react, react-day-picker.
Where is calendar-04.tsx in the architecture?
calendar-04.tsx is located at deprecated/www/registry/default/blocks/calendar-04.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/blocks).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free