Skip to main content
Popover
DeprecatedControlled floating panel anchored to a trigger child. 4 placements, outside-click and Escape dismissal, role='dialog' with aria-label. Superseded by tooltip (controlled/interactive mode).
Categorymolecules
Source
src/components/molecules/Popover/Popover.tsxAI HintControlled component — parent owns open state. Dismisses on outside-click and Escape automatically.
Props
Preview
Popover
Prop
Type
Required
Default
Description
openbooleanRequired
—Controlled visibility
onClose() => voidRequired
—Called on outside-click or Escape
contentReact.ReactNodeRequired
—Popover body
placement'top' | 'right' | 'bottom' | 'left'Optional
'bottom'Anchor position relative to the trigger
childrenReact.ReactElementRequired
—Trigger element
ariaLabelstringOptional
—Accessible name for the dialog
Quick use:
<Popover />Accessibility
ARIA roledialog
ARIA
2 rulesUsage
Import
tsxSnippet
import { Popover } from "@epasslive/design-system"Example 1
tsxSnippet
<Popover open={o} onClose={() => setO(false)} content={<Help/>}><Button>?</Button></Popover>Anti-patterns
— Do not use for modal-blocking workflows — use Dialog