calendar-16.tsx — ui Source File
Architecture documentation for calendar-16.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR b87affd7_99d4_064c_822a_b6751011b923["calendar-16.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] b87affd7_99d4_064c_822a_b6751011b923 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] b87affd7_99d4_064c_822a_b6751011b923 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 5000e233_363d_e409_8b5c_7e80d38646fe["calendar"] b87affd7_99d4_064c_822a_b6751011b923 --> 5000e233_363d_e409_8b5c_7e80d38646fe 95a7752f_4b97_5bde_5d7d_fca03536ac35["card"] b87affd7_99d4_064c_822a_b6751011b923 --> 95a7752f_4b97_5bde_5d7d_fca03536ac35 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"] b87affd7_99d4_064c_822a_b6751011b923 --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107 fa665cdb_5f79_b81a_95ab_12ba182fc175["label"] b87affd7_99d4_064c_822a_b6751011b923 --> fa665cdb_5f79_b81a_95ab_12ba182fc175 style b87affd7_99d4_064c_822a_b6751011b923 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Clock2Icon } from "lucide-react"
import { Calendar } from "@/registry/new-york/ui/calendar"
import { Card, CardContent, CardFooter } from "@/registry/new-york/ui/card"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/label"
export default function Calendar16() {
const [date, setDate] = React.useState<Date | undefined>(
new Date(2025, 5, 12)
)
return (
<Card className="w-fit py-4">
<CardContent className="px-4">
<Calendar
mode="single"
selected={date}
onSelect={setDate}
className="bg-transparent p-0"
/>
</CardContent>
<CardFooter className="flex flex-col gap-6 border-t px-4 pb-0 pt-4">
<div className="flex w-full flex-col gap-3">
<Label htmlFor="time-from">Start Time</Label>
<div className="relative flex w-full items-center gap-2">
<Clock2Icon className="text-muted-foreground pointer-events-none absolute left-2.5 size-4 select-none" />
<Input
id="time-from"
type="time"
step="1"
defaultValue="10:30:00"
className="appearance-none pl-8 [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
/>
</div>
</div>
<div className="flex w-full flex-col gap-3">
<Label htmlFor="time-to">End Time</Label>
<div className="relative flex w-full items-center gap-2">
<Clock2Icon className="text-muted-foreground pointer-events-none absolute left-2.5 size-4 select-none" />
<Input
id="time-to"
type="time"
step="1"
defaultValue="12:30:00"
className="appearance-none pl-8 [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
/>
</div>
</div>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- calendar
- card
- input
- label
- lucide-react
- react
Source
Frequently Asked Questions
What does calendar-16.tsx do?
calendar-16.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-16.tsx?
calendar-16.tsx defines 1 function(s): Calendar16.
What does calendar-16.tsx depend on?
calendar-16.tsx imports 6 module(s): calendar, card, input, label, lucide-react, react.
Where is calendar-16.tsx in the architecture?
calendar-16.tsx is located at deprecated/www/__registry__/new-york/blocks/calendar-16.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