UxPopover

components/ux/Popover.vue

Trigger + anchored panel primitive on Headless UI Popover — toggle, Escape, click-outside, and focus return owned by Headless; chrome and alignment owned here. The root is inline-flex so that as a flex item (a FilterTriggerBar segment) the trigger stretches to the row; the focus ring is inset so a clipped host still shows it. Prototyped in c93, extracted in c95.

picked: —
Scenarios
components/ux/Popover.vue

Usage

<UxPopover align = "right" side = "below" :wide = "false" > Content here </UxPopover>

Props

PropTypeDefaultDescription
alignString'right'Which edge of the trigger the panel hangs from: 'left' or 'right'
sideString'below''below' or 'above' — above keeps the content beneath the trigger uncovered
wideBooleanfalsew-80 instead of w-64 — for panels with a secondary column of text

Slots

SlotDescription
triggerTrigger content, rendered inside the Headless PopoverButton; scope { open }
defaultPanel content; scope { close } to dismiss programmatically

Related

Qpoint Brand Style Guide