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
  08793761_0d93_a3fd_4781_403e21745a8b["calendar-01.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  08793761_0d93_a3fd_4781_403e21745a8b --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  9296b496_7dcb_ebca_2184_14782807983b["calendar"]
  08793761_0d93_a3fd_4781_403e21745a8b --> 9296b496_7dcb_ebca_2184_14782807983b
  style 08793761_0d93_a3fd_4781_403e21745a8b 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 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__/default/blocks/calendar-01.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