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

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

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

Analyze Your Own Codebase

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

Try Supermodel Free