Home / Function/ Calendar02() — ui Function Reference

Calendar02() — ui Function Reference

Architecture documentation for the Calendar02() function in calendar-02.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  8e747825_78e8_5d8f_cc91_4c4de2658a27["Calendar02()"]
  d6102357_64ba_2697_83f6_1b716c2730a0["calendar-02.tsx"]
  8e747825_78e8_5d8f_cc91_4c4de2658a27 -->|defined in| d6102357_64ba_2697_83f6_1b716c2730a0
  style 8e747825_78e8_5d8f_cc91_4c4de2658a27 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/__registry__/new-york/blocks/calendar-02.tsx lines 7–22

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

  return (
    <Calendar
      mode="single"
      defaultMonth={date}
      numberOfMonths={2}
      selected={date}
      onSelect={setDate}
      className="rounded-lg border shadow-sm"
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free