# Popover

Extra detail anchored to a trigger.

Import from `@a31labs/rax/popover`.

## Usage

```tsx
<Popover ref={name("Deploy details")} trigger={<Button>Details</Button>}>Last deployed 4 minutes ago.</Popover>
```

## Rules

Popover: `trigger`, children, `side`, controlled or default open. Menu: `trigger`, `items` (`{ label, onSelect, danger, icon, description, current }`); with an icon or description an item becomes a richer row (a 32px icon tile, the label in 600 and the description in ink-2 under it), for app or area switchers, and `current` adds a check. Tooltip: `content`, one child. All three take `container`, and `className` and `ref` for the floating popup. Tooltips never hold information that is not available elsewhere.

Page: https://rax.a31.at/components/popover
