"use client"
import { Button } from "@/components/ui/button"
import {
Popover,
PopoverBody,
PopoverContent,
PopoverDescription,
PopoverFooter,
PopoverHeader,
PopoverTitle,
} from "@/components/ui/popover"
export default function PopoverDemo() {
return (
<Popover>
<Button intent="outline">What’s this?</Button>
<PopoverContent>
<PopoverHeader>
<PopoverTitle>This is the title of the popover.</PopoverTitle>
<PopoverDescription>This is the description of the popover.</PopoverDescription>
</PopoverHeader>
<PopoverBody>This is the body of the popover.</PopoverBody>
<PopoverFooter>This is the footer of the popover.</PopoverFooter>
</PopoverContent>
</Popover>
)
}
npx shadcn@latest add @intentui/popover-demoUsage varies by registry entry. Refer to the registry docs or source files below for details.