Home

The Popover component displays content in a floating panel positioned relative to a trigger element. It’s useful for showing additional information, forms, or contextual actions without navigating away.

Installation

npm
npx phpxui add Popover

Usage

use Lib\PHPXUI\{
    Popover,
    PopoverContent,
    PopoverTrigger,
}
<Popover>
  <PopoverTrigger>Open</PopoverTrigger>
  <PopoverContent>Place content for the popover here.</PopoverContent>
</Popover>