calendar-17.tsx — ui Source File
Architecture documentation for calendar-17.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35["calendar-17.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9296b496_7dcb_ebca_2184_14782807983b["calendar"] 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35 --> 9296b496_7dcb_ebca_2184_14782807983b 40a08bc2_b80f_cbb3_c3f5_f3ceafbb7d31["card"] 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35 --> 40a08bc2_b80f_cbb3_c3f5_f3ceafbb7d31 163b5f6f_1cd3_6d8d_5305_80eec4895f60["input"] 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35 --> 163b5f6f_1cd3_6d8d_5305_80eec4895f60 f826d306_7d63_5ba3_6a53_387904d37a9f["label"] 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35 --> f826d306_7d63_5ba3_6a53_387904d37a9f style 1ec10c19_3f34_6b7f_7e32_ac99d48c4e35 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Calendar } from "@/registry/default/ui/calendar"
import { Card, CardContent, CardFooter } from "@/registry/default/ui/card"
import { Input } from "@/registry/default/ui/input"
import { Label } from "@/registry/default/ui/label"
export default function Calendar17() {
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 [--cell-size:2.8rem]"
/>
</CardContent>
<CardFooter className="*:[div]:w-full flex gap-2 border-t px-4 pb-0 pt-4">
<div className="flex-1">
<Label htmlFor="time-from" className="sr-only">
Start Time
</Label>
<Input
id="time-from"
type="time"
step="1"
defaultValue="10:30:00"
className="appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
/>
</div>
<span>-</span>
<div className="flex-1">
<Label htmlFor="time-to" className="sr-only">
End Time
</Label>
<Input
id="time-to"
type="time"
step="1"
defaultValue="12:30:00"
className="appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
/>
</div>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Functions
Dependencies
- calendar
- card
- input
- label
- react
Source
Frequently Asked Questions
What does calendar-17.tsx do?
calendar-17.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-17.tsx?
calendar-17.tsx defines 1 function(s): Calendar17.
What does calendar-17.tsx depend on?
calendar-17.tsx imports 5 module(s): calendar, card, input, label, react.
Where is calendar-17.tsx in the architecture?
calendar-17.tsx is located at deprecated/www/registry/default/blocks/calendar-17.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