Hover Card

The ArcadiaHoverCard component displays rich content when the user hovers over or focuses on a trigger element, with configurable open/close delays.

Basic Usage

<ArcadiaHoverCard Position="bottom" OpenDelay="300">
    <ChildContent>
        <a href="#">@username</a>
    </ChildContent>
    <Content>
        <div class="user-card">
            <strong>Jane Doe</strong>
            <p>Software Engineer</p>
        </div>
    </Content>
</ArcadiaHoverCard>

Parameters

ParameterTypeDefaultDescription
ChildContentRenderFragment?nullTrigger element content that activates the hover card.
ContentRenderFragment?nullHover card content displayed on hover.
OpenDelayint300Delay in milliseconds before the hover card appears.
CloseDelayint200Delay in milliseconds before the hover card hides.
Positionstring"bottom"Position relative to the trigger: "top", "bottom", "left", "right".
Classstring?nullAdditional CSS class names.
Stylestring?nullInline CSS styles.

Accessibility

  • The hover card content uses role="tooltip" with aria-live="polite".
  • Activates on both mouse hover and keyboard focus (focusin/focusout).
  • Delays prevent accidental activation during quick mouse movements.