HoverCardInDialog() — ui Function Reference
Architecture documentation for the HoverCardInDialog() function in hover-card-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 1de0a0ca_0476_a915_d7fb_c895dd309a23["HoverCardInDialog()"] 7322de46_bcfe_1550_9825_0d9de04c89e2["hover-card-example.tsx"] 1de0a0ca_0476_a915_d7fb_c895dd309a23 -->|defined in| 7322de46_bcfe_1550_9825_0d9de04c89e2 style 1de0a0ca_0476_a915_d7fb_c895dd309a23 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/hover-card-example.tsx lines 67–103
function HoverCardInDialog() {
return (
<Example title="In Dialog">
<Dialog>
<DialogTrigger render={<Button variant="outline" />}>
Open Dialog
</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>Hover Card Example</DialogTitle>
<DialogDescription>
Hover over the button below to see the hover card.
</DialogDescription>
</DialogHeader>
<HoverCard>
<HoverCardTrigger
delay={100}
closeDelay={100}
render={<Button variant="outline" className="w-fit" />}
>
Hover me
</HoverCardTrigger>
<HoverCardContent>
<div className="style-lyra:gap-1 style-nova:gap-1.5 style-vega:gap-2 style-maia:gap-2 style-mira:gap-1 flex flex-col">
<h4 className="font-medium">Hover Card</h4>
<p>
This hover card appears inside a dialog. Hover over the button
to see it.
</p>
</div>
</HoverCardContent>
</HoverCard>
</DialogContent>
</Dialog>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does HoverCardInDialog() do?
HoverCardInDialog() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/hover-card-example.tsx.
Where is HoverCardInDialog() defined?
HoverCardInDialog() is defined in apps/v4/registry/bases/base/examples/hover-card-example.tsx at line 67.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free