Home / Function/ ButtonGroupPopover() — ui Function Reference

ButtonGroupPopover() — ui Function Reference

Architecture documentation for the ButtonGroupPopover() function in button-group-popover.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  c1165209_f0c5_c267_5981_20f343d4c59b["ButtonGroupPopover()"]
  3fb2af96_9961_708f_6a3d_2df4e16f3366["button-group-popover.tsx"]
  c1165209_f0c5_c267_5981_20f343d4c59b -->|defined in| 3fb2af96_9961_708f_6a3d_2df4e16f3366
  style c1165209_f0c5_c267_5981_20f343d4c59b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/button-group-popover.tsx lines 13–45

export default function ButtonGroupPopover() {
  return (
    <ButtonGroup>
      <Button variant="outline">
        <BotIcon /> Copilot
      </Button>
      <Popover>
        <PopoverTrigger asChild>
          <Button variant="outline" size="icon" aria-label="Open Popover">
            <ChevronDownIcon />
          </Button>
        </PopoverTrigger>
        <PopoverContent align="end" className="rounded-xl p-0 text-sm">
          <div className="px-4 py-3">
            <div className="text-sm font-medium">Agent Tasks</div>
          </div>
          <Separator />
          <div className="p-4 text-sm *:[p:not(:last-child)]:mb-2">
            <Textarea
              placeholder="Describe your task in natural language."
              className="mb-4 resize-none"
            />
            <p className="font-medium">Start a new task with Copilot</p>
            <p className="text-muted-foreground">
              Describe your task in natural language. Copilot will work in the
              background and open a pull request for your review.
            </p>
          </div>
        </PopoverContent>
      </Popover>
    </ButtonGroup>
  )
}

Subdomains

Frequently Asked Questions

What does ButtonGroupPopover() do?
ButtonGroupPopover() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/button-group-popover.tsx.
Where is ButtonGroupPopover() defined?
ButtonGroupPopover() is defined in apps/v4/registry/new-york-v4/examples/button-group-popover.tsx at line 13.

Analyze Your Own Codebase

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

Try Supermodel Free