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 e63f37fc_7458_91ee_20df_6390a6fa72d1["ButtonGroupPopover()"] 97c4794a_06a1_2731_51ac_0db0dffe2742["button-group-popover.tsx"] e63f37fc_7458_91ee_20df_6390a6fa72d1 -->|defined in| 97c4794a_06a1_2731_51ac_0db0dffe2742 style e63f37fc_7458_91ee_20df_6390a6fa72d1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/button-group-popover.tsx lines 15–53
export default function ButtonGroupPopover() {
return (
<ButtonGroup>
<Button variant="outline">
<BotIcon /> Copilot
</Button>
<Popover>
<PopoverTrigger
render={
<Button variant="outline" size="icon" aria-label="Open Popover" />
}
>
<ChevronDownIcon />
</PopoverTrigger>
<PopoverContent align="end" className="rounded-xl text-sm">
<PopoverHeader>
<PopoverTitle>Start a new task with Copilot</PopoverTitle>
<PopoverDescription>
Describe your task in natural language.
</PopoverDescription>
</PopoverHeader>
<Field>
<FieldLabel htmlFor="task" className="sr-only">
Task Description
</FieldLabel>
<Textarea
id="task"
placeholder="I need to..."
className="resize-none"
/>
<FieldDescription>
Copilot will open a pull request for review.
</FieldDescription>
</Field>
</PopoverContent>
</Popover>
</ButtonGroup>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ButtonGroupPopover() do?
ButtonGroupPopover() is a function in the ui codebase, defined in apps/v4/examples/base/button-group-popover.tsx.
Where is ButtonGroupPopover() defined?
ButtonGroupPopover() is defined in apps/v4/examples/base/button-group-popover.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free