Installation
Usage
Component API
Popover
Root popover component. Built on Radix UI Popover.PopoverTrigger
Trigger element that opens the popover.PopoverContent
Popover content container with portal rendering.align- Horizontal alignment relative to trigger (default:"center")sideOffset- Distance from trigger in pixels (default:4)
PopoverAnchor
Optional anchor element for positioning.PopoverHeader
Header section for title and description.PopoverTitle
Title heading for the popover.PopoverDescription
Description text for the popover.Examples
Basic Popover
A simple popover with a header, title, and description:Alignment
Control horizontal alignment with thealign prop: