# Popover
> Rich content that floats next to its trigger.
Source: https://native.shellui.dev/docs/components/overlay/popover
## Installation
```bash
shellui-native add popover
```
**Platforms:** MAUI ยท Avalonia. Also installs `popover-trigger`, `popover-content`, `element-extensions`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=popover-basic)
## API
### Popover
XAML children go to `Items` on Avalonia.
| Property | Type | Default | Description |
|---|---|---|---|
| `IsOpen` | `bool` | `false` | Whether it's open. Two-way bindable. |
| Event | Arguments | Description |
|---|---|---|
| `IsOpenChanged` | `bool` | Opened or closed. |
| Method | Description |
|---|---|
| `ToggleAsync()` | Kept for compatibility with earlier versions. MAUI only. |
| `CloseAsync()` | MAUI only. |
| `SetOpen(bool value)` | Opens or closes it. |
| `Toggle()` | Opens it if closed, closes it if open. |
| `Close()` | Closes it. |
### PopoverTrigger
| Method | Description |
|---|---|
| `Activate()` | Does what pressing it does. |
| `ShellTriggerView.ActivateAncestor(Element from)` | Called by interactive children (Button) after they handle a click. |
### PopoverContent
XAML children go to `Items` on Avalonia and `Children` on MAUI.
No properties of its own.