Calendar10() — ui Function Reference
Architecture documentation for the Calendar10() function in calendar-10.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f3583566_897a_0ac1_f21f_7a0bc8aa67d7["Calendar10()"] 84597934_03d0_6c79_600d_aef41548588d["calendar-10.tsx"] f3583566_897a_0ac1_f21f_7a0bc8aa67d7 -->|defined in| 84597934_03d0_6c79_600d_aef41548588d style f3583566_897a_0ac1_f21f_7a0bc8aa67d7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/__registry__/new-york/blocks/calendar-10.tsx lines 15–50
export default function Calendar10() {
const [date, setDate] = React.useState<Date | undefined>(
new Date(2025, 5, 12)
)
const [month, setMonth] = React.useState<Date | undefined>(new Date())
return (
<Card>
<CardHeader className="relative">
<CardTitle>Appointment</CardTitle>
<CardDescription>Find a date</CardDescription>
<Button
size="sm"
variant="outline"
className="absolute right-4 top-4"
onClick={() => {
setMonth(new Date())
setDate(new Date())
}}
>
Today
</Button>
</CardHeader>
<CardContent>
<Calendar
mode="single"
month={month}
onMonthChange={setMonth}
selected={date}
onSelect={setDate}
className="bg-transparent p-0"
/>
</CardContent>
</Card>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Calendar10() do?
Calendar10() is a function in the ui codebase, defined in deprecated/www/__registry__/new-york/blocks/calendar-10.tsx.
Where is Calendar10() defined?
Calendar10() is defined in deprecated/www/__registry__/new-york/blocks/calendar-10.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free