Skip to content
Binary Dreams UI Kit reference Popover

Popover

Free-form anchored floating panel.

Loading interactive example

Choose Popover for compact contextual content or controls anchored to a trigger. For inline confirmation, name the target, keep pending and failure state in the consumer, and close only after confirmed success. Use onCloseAutoFocus when an action moves focus to another destination.

API

MemberTypeKindRequiredDefault
anchorHTMLElement | Measurable | nullpropNonull
childrenSnippetsnippetYes
flushbooleanpropNofalse
focusOnOpenbooleanpropNotrue
onCloseAutoFocus(event: Event) => voidcallbackNoundefined
onOpenChange(open: boolean) => voidcallbackNoundefined
openbooleanbindingNofalse
placementPopoverPlacementpropNo'bottom'
sameWidthbooleanpropNofalse
triggerSnippet | Snippet<[Record<string, unknown>]> | undefinedsnippetNoundefined
triggerMode'delegated' | 'legacy' | neverpropNoundefined

Source

Loading source