button-group-popover.tsx — ui Source File
Architecture documentation for button-group-popover.tsx, a tsx file in the ui codebase. 6 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 7d16561a_b95f_17c9_e503_180b6ee967e3["button-group-popover.tsx"] 4b1d2128_46d9_46f0_b915_b6e1925b7876["button"] 7d16561a_b95f_17c9_e503_180b6ee967e3 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876 18f6542f_51e6_ba81_129a_f0eef8a35168["button-group"] 7d16561a_b95f_17c9_e503_180b6ee967e3 --> 18f6542f_51e6_ba81_129a_f0eef8a35168 97b1d83c_62f2_f7a6_4edb_030a627d9a9d["popover"] 7d16561a_b95f_17c9_e503_180b6ee967e3 --> 97b1d83c_62f2_f7a6_4edb_030a627d9a9d b9edc1c7_b7c5_336c_067b_ecb7e26f1bc3["separator"] 7d16561a_b95f_17c9_e503_180b6ee967e3 --> b9edc1c7_b7c5_336c_067b_ecb7e26f1bc3 f82546d2_9d65_5165_7279_d0fc6dc815e8["textarea"] 7d16561a_b95f_17c9_e503_180b6ee967e3 --> f82546d2_9d65_5165_7279_d0fc6dc815e8 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 7d16561a_b95f_17c9_e503_180b6ee967e3 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 53860de0_4d86_dc1d_c85a_07c01f0d1a07["index.tsx"] 53860de0_4d86_dc1d_c85a_07c01f0d1a07 --> 7d16561a_b95f_17c9_e503_180b6ee967e3 style 7d16561a_b95f_17c9_e503_180b6ee967e3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/examples/radix/ui/button"
import { ButtonGroup } from "@/examples/radix/ui/button-group"
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/examples/radix/ui/popover"
import { Separator } from "@/examples/radix/ui/separator"
import { Textarea } from "@/examples/radix/ui/textarea"
import { BotIcon, ChevronDownIcon } from "lucide-react"
export function ButtonGroupPopover() {
return (
<ButtonGroup>
<Button variant="outline" size="sm">
<BotIcon /> Copilot
</Button>
<Popover>
<PopoverTrigger asChild>
<Button variant="outline" size="icon-sm" aria-label="Open Popover">
<ChevronDownIcon />
</Button>
</PopoverTrigger>
<PopoverContent align="end" className="gap-0 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>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- button-group
- lucide-react
- popover
- separator
- textarea
Imported By
Source
Frequently Asked Questions
What does button-group-popover.tsx do?
button-group-popover.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in button-group-popover.tsx?
button-group-popover.tsx defines 1 function(s): ButtonGroupPopover.
What does button-group-popover.tsx depend on?
button-group-popover.tsx imports 6 module(s): button, button-group, lucide-react, popover, separator, textarea.
What files import button-group-popover.tsx?
button-group-popover.tsx is imported by 1 file(s): index.tsx.
Where is button-group-popover.tsx in the architecture?
button-group-popover.tsx is located at apps/v4/app/(app)/(root)/components/button-group-popover.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/app/(app)/(root)/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free