Home / File/ calendar-01.tsx — ui Source File

calendar-01.tsx — ui Source File

Architecture documentation for calendar-01.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  84c625be_a721_1af4_ce65_f581ad6f9c6d["calendar-01.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  84c625be_a721_1af4_ce65_f581ad6f9c6d --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  5000e233_363d_e409_8b5c_7e80d38646fe["calendar"]
  84c625be_a721_1af4_ce65_f581ad6f9c6d --> 5000e233_363d_e409_8b5c_7e80d38646fe
  style 84c625be_a721_1af4_ce65_f581ad6f9c6d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"

import { Calendar } from "@/registry/new-york/ui/calendar"

export default function Calendar01() {
  const [date, setDate] = React.useState<Date | undefined>(
    new Date(2025, 5, 12)
  )

  return (
    <Calendar
      mode="single"
      defaultMonth={date}
      selected={date}
      onSelect={setDate}
      className="rounded-lg border shadow-sm"
    />
  )
}

Subdomains

Functions

Dependencies

  • calendar
  • react

Frequently Asked Questions

What does calendar-01.tsx do?
calendar-01.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-01.tsx?
calendar-01.tsx defines 1 function(s): Calendar01.
What does calendar-01.tsx depend on?
calendar-01.tsx imports 2 module(s): calendar, react.
Where is calendar-01.tsx in the architecture?
calendar-01.tsx is located at deprecated/www/registry/new-york/blocks/calendar-01.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