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

calendar-demo.tsx — ui Source File

Architecture documentation for calendar-demo.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
  dd05125d_5c91_e524_3bcb_922512c83347["calendar-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  dd05125d_5c91_e524_3bcb_922512c83347 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  7bfe56e6_25f1_1b2f_588d_f14238c3c071["calendar"]
  dd05125d_5c91_e524_3bcb_922512c83347 --> 7bfe56e6_25f1_1b2f_588d_f14238c3c071
  style dd05125d_5c91_e524_3bcb_922512c83347 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"

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

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

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

Subdomains

Functions

Dependencies

  • calendar
  • react

Frequently Asked Questions

What does calendar-demo.tsx do?
calendar-demo.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-demo.tsx?
calendar-demo.tsx defines 1 function(s): CalendarDemo.
What does calendar-demo.tsx depend on?
calendar-demo.tsx imports 2 module(s): calendar, react.
Where is calendar-demo.tsx in the architecture?
calendar-demo.tsx is located at apps/v4/registry/new-york-v4/examples/calendar-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free