AppPopover
A teleported floating panel that positions itself under its trigger, flips when there is no room, and follows RTL. Use it for panels with their own content (a small form, a filter, a combobox). For a list of actions use AppDropdownMenu, which is built on it and adds the menu keys.
Install: pnpm add-component AppPopover
Basic usage
Put your button in the #trigger slot and bind triggerAttrs on it: it carries aria-expanded and aria-controls. Opening moves focus into the panel; Tab past its last item closes it and goes on after the trigger, Shift+Tab and Escape return to the trigger.
API
open(boolean): Controlled open state (use v-model:open).placement('bottom-start' | 'bottom-end' | 'top-start' | 'top-end'): Preferred positioning relative to the trigger.offset(number): Gap between trigger and popover panel.matchWidth(boolean): Forces the panel to match the width of the trigger.disabled(boolean): Prevents the popover from opening.closeOnContentClick(boolean): Auto-closes when clicking inside the panel.panelClass(string | object | array): Custom classes for the teleported panel container.teleportTo(string): CSS selector for Teleport target.