All components

Popover

Floating container anchored to a trigger.

Full API on ui.shadcn.com

Default

<Popover>
  <PopoverTrigger render={<Button variant="outline">Open popover</Button>} />
  <PopoverContent className="w-64">
    <PopoverTitle>Title</PopoverTitle>
    <PopoverDescription>Anchored to the trigger.</PopoverDescription>
  </PopoverContent>
</Popover>