Docs
Popover
Popover
Displays rich content in a portal, triggered by a button.
Installation
npx @pujan-modha/pm-ui add popover
Usage
Add className border-2
if you are not using any other component directly
inside the Popover
.
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover"
<Popover>
<PopoverTrigger>Open</PopoverTrigger>
<PopoverContent className="border-2">Place content for the popover here.</PopoverContent>
</Popover>