calendar-14.tsx — ui Source File
Architecture documentation for calendar-14.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 81618cd2_4022_b1ef_c52e_fb417c7e238c["calendar-14.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 81618cd2_4022_b1ef_c52e_fb417c7e238c --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9296b496_7dcb_ebca_2184_14782807983b["calendar"] 81618cd2_4022_b1ef_c52e_fb417c7e238c --> 9296b496_7dcb_ebca_2184_14782807983b style 81618cd2_4022_b1ef_c52e_fb417c7e238c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Calendar } from "@/registry/default/ui/calendar"
export default function Calendar14() {
const [date, setDate] = React.useState<Date | undefined>(
new Date(2025, 5, 12)
)
const bookedDates = Array.from(
{ length: 12 },
(_, i) => new Date(2025, 5, 15 + i)
)
return (
<Calendar
mode="single"
defaultMonth={date}
selected={date}
onSelect={setDate}
disabled={bookedDates}
modifiers={{
booked: bookedDates,
}}
modifiersClassNames={{
booked: "[&>button]:line-through opacity-100",
}}
className="rounded-lg border shadow-sm"
/>
)
}
Domain
Subdomains
Functions
Dependencies
- calendar
- react
Source
Frequently Asked Questions
What does calendar-14.tsx do?
calendar-14.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-14.tsx?
calendar-14.tsx defines 1 function(s): Calendar14.
What does calendar-14.tsx depend on?
calendar-14.tsx imports 2 module(s): calendar, react.
Where is calendar-14.tsx in the architecture?
calendar-14.tsx is located at deprecated/www/__registry__/default/blocks/calendar-14.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