Home / Function/ CalendarInPopover() — ui Function Reference

CalendarInPopover() — ui Function Reference

Architecture documentation for the CalendarInPopover() function in calendar-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  78ad04d1_dfca_16da_063e_a9af584f430c["CalendarInPopover()"]
  189fced7_34d5_a390_e619_8f0a05a614e2["calendar-example.tsx"]
  78ad04d1_dfca_16da_063e_a9af584f430c -->|defined in| 189fced7_34d5_a390_e619_8f0a05a614e2
  style 78ad04d1_dfca_16da_063e_a9af584f430c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/calendar-example.tsx lines 61–84

function CalendarInPopover() {
  return (
    <Example title="In Popover">
      <Popover>
        <PopoverTrigger asChild>
          <Button variant="outline" className="px-2.5 font-normal">
            <IconPlaceholder
              lucide="CalendarIcon"
              tabler="IconCalendar"
              hugeicons="CalendarIcon"
              phosphor="CalendarBlankIcon"
              remixicon="RiCalendarLine"
              data-icon="inline-start"
            />
            Open Calendar
          </Button>
        </PopoverTrigger>
        <PopoverContent className="w-auto p-0" align="start">
          <Calendar mode="single" />
        </PopoverContent>
      </Popover>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does CalendarInPopover() do?
CalendarInPopover() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/calendar-example.tsx.
Where is CalendarInPopover() defined?
CalendarInPopover() is defined in apps/v4/registry/bases/radix/examples/calendar-example.tsx at line 61.

Analyze Your Own Codebase

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

Try Supermodel Free