Popover

The ArcadiaPopover component displays a floating panel when the user clicks a trigger element. Unlike a tooltip, popovers can contain interactive content.

Basic Usage

<ArcadiaPopover @bind-Open="isOpen" Position="bottom">
    <ChildContent>
        <button>Options</button>
    </ChildContent>
    <Content>
        <div style="padding: 1rem;">
            <h3>Popover Panel</h3>
            <p>Interactive content goes here.</p>
        </div>
    </Content>
</ArcadiaPopover>

Parameters

ParameterTypeDefaultDescription
ChildContentRenderFragment?nullTrigger element that opens the popover on click.
ContentRenderFragment?nullPopover content displayed when open.
OpenboolfalseWhether the popover is open. Supports two-way binding.
Positionstring"bottom"Position relative to the trigger: "top", "bottom", "left", "right".
CloseOnClickOutsidebooltrueWhether clicking outside closes the popover.
Classstring?nullAdditional CSS class names.
Stylestring?nullInline CSS styles.

Events

EventTypeDescription
OpenChangedEventCallback<bool>Fired when the open state changes.

Accessibility

  • The content uses role="dialog" with aria-modal="false" (non-modal).
  • Escape key closes the popover.
  • When CloseOnClickOutside is true, clicking the backdrop closes the popover.