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

calendar-02.tsx — ui Source File

Architecture documentation for calendar-02.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
  d6102357_64ba_2697_83f6_1b716c2730a0["calendar-02.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  d6102357_64ba_2697_83f6_1b716c2730a0 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  5000e233_363d_e409_8b5c_7e80d38646fe["calendar"]
  d6102357_64ba_2697_83f6_1b716c2730a0 --> 5000e233_363d_e409_8b5c_7e80d38646fe
  style d6102357_64ba_2697_83f6_1b716c2730a0 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 Calendar02() {
  const [date, setDate] = React.useState<Date | undefined>(
    new Date(2025, 5, 12)
  )

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

Subdomains

Functions

Dependencies

  • calendar
  • react

Frequently Asked Questions

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