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
  e681ef69_c41e_8383_ea6c_efa3b017a8db["calendar-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  e681ef69_c41e_8383_ea6c_efa3b017a8db --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  9296b496_7dcb_ebca_2184_14782807983b["calendar"]
  e681ef69_c41e_8383_ea6c_efa3b017a8db --> 9296b496_7dcb_ebca_2184_14782807983b
  style e681ef69_c41e_8383_ea6c_efa3b017a8db 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 function CalendarDemo() {
  const [date, setDate] = React.useState<Date | undefined>(new Date())

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

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 deprecated/www/registry/default/internal/sink/components/calendar-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free