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 DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f354f25f_b091_157c_0763_c7c34fb1c2be["calendar-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  f354f25f_b091_157c_0763_c7c34fb1c2be --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  4bae96d1_8974_035f_9042_62ec299030b9["calendar"]
  f354f25f_b091_157c_0763_c7c34fb1c2be --> 4bae96d1_8974_035f_9042_62ec299030b9
  style f354f25f_b091_157c_0763_c7c34fb1c2be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Calendar } from "@/examples/radix/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-lg border"
      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 DocumentationAtlas domain, ContentSourcing 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/examples/radix/calendar-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free