# Hover Card > Rich content that floats under its trigger while the pointer is over either. Source: https://native.shellui.dev/docs/components/overlay/hover-card ## Installation ```bash shellui-native add hover-card ``` **Platforms:** MAUI ยท Avalonia. Also installs `hover-card-trigger`, `hover-card-content`, `element-extensions`. ## Usage ### Basic **MAUI** ```xml ``` **Avalonia** ```xml ``` [Live preview](https://native.shellui.dev/preview/index.html?c=hover-card-basic) ## MAUI and Avalonia Both open on mouse hover and toggle on a tap where there's no hover. On Avalonia, Enter or Space on the trigger toggles it too. ## API ### HoverCard XAML children go to `Items` on Avalonia. | Property | Type | Default | Description | |---|---|---|---| | `OpenDelay` | `int` | `300` | Milliseconds before the card opens / closes after the pointer enters / leaves. | | `CloseDelay` | `int` | `200` | Milliseconds before the card closes after the pointer leaves. | | `IsOpen` | `bool` | `false` | Whether it's open. Two-way bindable. | | Event | Arguments | Description | |---|---|---| | `IsOpenChanged` | `bool` | Opened or closed. | | Method | Description | |---|---| | `SetOpen(bool value)` | Opens or closes it. | | `Toggle()` | Opens it if closed, closes it if open. | | `Close()` | Closes it. | ### HoverCardTrigger | Method | Description | |---|---| | `Activate()` | Does what pressing it does. | | `ShellTriggerView.ActivateAncestor(Element from)` | Called by interactive children (Button) after they handle a click. | ### HoverCardContent XAML children go to `Items` on Avalonia and `Children` on MAUI. No properties of its own.