Appearance
Function: Popover()
ts
function Popover(props: UiPopoverProps): Block;Defined in: src/renderer/blocks/index.ts:1685
Experimental
Popover — floating content panel anchored to a trigger. Use for rich, interactive content (filter controls, pickers, inline settings). Use HoverCard for read-only previews, DropdownMenu for action lists.
Parameters
| Parameter | Type |
|---|---|
props | UiPopoverProps |
Returns
Example
ts
Popover({
trigger: 'Filters',
heading: 'Filter results',
children: 'Filter controls go here.',
});