--- title: Popover description: Displays rich content in a portal, triggered by a button. component: true links: doc: https://www.radix-ui.com/docs/primitives/components/popover api: https://www.radix-ui.com/docs/primitives/components/popover#api-reference source: radix: true shadcn: true --- ## Installation CLI Manual ```bash npx shadcn-ui@latest add popover ``` Install the following dependencies: ```bash npm install @radix-ui/react-popover ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' ``` ```tsx Open Place content for the popover here. ```