Jump to a page or a component.
A small aside anchored to a control. Heavier edge than a tooltip.
No install — ask an AI agent to copy this component from registry.json.
import { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from "@/components/ui/popover";The props worth knowing. Everything else passes straight through to the underlying element, including className, which is merged last so it always wins.
| Prop | Type | Default | Description |
|---|---|---|---|
| align | "start" | "center" | "end" | "center" | Alignment against the trigger. |
| sideOffset | number | 6 | Gap between trigger and panel, in px. |