Home / Function/ Calendar01() — ui Function Reference

Calendar01() — ui Function Reference

Architecture documentation for the Calendar01() function in calendar-01.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  612abafc_5c9b_720a_6069_14f1434e1cfa["Calendar01()"]
  5f05b326_77d5_0569_7967_94136e3934cf["calendar-01.tsx"]
  612abafc_5c9b_720a_6069_14f1434e1cfa -->|defined in| 5f05b326_77d5_0569_7967_94136e3934cf
  style 612abafc_5c9b_720a_6069_14f1434e1cfa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/__registry__/new-york/blocks/calendar-01.tsx lines 7–21

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

Frequently Asked Questions

What does Calendar01() do?
Calendar01() is a function in the ui codebase, defined in deprecated/www/__registry__/new-york/blocks/calendar-01.tsx.
Where is Calendar01() defined?
Calendar01() is defined in deprecated/www/__registry__/new-york/blocks/calendar-01.tsx at line 7.

Analyze Your Own Codebase

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

Try Supermodel Free