Popover

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

Installation

npx @kosori/cli add components popover

Usage

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

On this page