Docs
Popover

Popover

Displays rich content in a portal, triggered by a button.

Installation

npx rrf-shadcn-ui@latest add popover

Usage

import {
  Popover,
  PopoverContent,
  PopoverTrigger,
} from "@/components/ui/popover"
<Popover>
  <PopoverTrigger>Open</PopoverTrigger>
  <PopoverContent>Place content for the popover here.</PopoverContent>
</Popover>