DatePicker() — ui Function Reference
Architecture documentation for the DatePicker() function in date-picker.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 8e6aa9e7_76e5_3230_dcce_f84ab2e9c640["DatePicker()"] 9539745a_6721_33af_3fb1_6ea162f9aca6["date-picker.tsx"] 8e6aa9e7_76e5_3230_dcce_f84ab2e9c640 -->|defined in| 9539745a_6721_33af_3fb1_6ea162f9aca6 style 8e6aa9e7_76e5_3230_dcce_f84ab2e9c640 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/blocks/sidebar-15/components/date-picker.tsx lines 9–26
export function DatePicker() {
const [date, setDate] = React.useState<Date | undefined>(
new Date(new Date().getFullYear(), new Date().getMonth(), 12)
)
return (
<SidebarGroup className="px-0">
<SidebarGroupContent>
<Calendar
mode="single"
selected={date}
onSelect={setDate}
captionLayout="dropdown"
className="bg-transparent [--cell-size:2.1rem]"
/>
</SidebarGroupContent>
</SidebarGroup>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DatePicker() do?
DatePicker() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/blocks/sidebar-15/components/date-picker.tsx.
Where is DatePicker() defined?
DatePicker() is defined in apps/v4/registry/bases/radix/blocks/sidebar-15/components/date-picker.tsx at line 9.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free